From 9b81802b1a1efd6ff8e387057dbce9d73689dfc6 Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Sun, 7 Jul 2024 15:00:12 -0300 Subject: [PATCH] packages: wm: Add river-minimal --- radix/packages/wm.scm | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/radix/packages/wm.scm b/radix/packages/wm.scm index 6756575..3503e70 100644 --- a/radix/packages/wm.scm +++ b/radix/packages/wm.scm @@ -1,19 +1,20 @@ (define-module (radix packages wm) - #:use-module (gnu packages wm) - #:use-module (gnu packages) #:use-module (gnu packages freedesktop) - #:use-module (gnu packages pkg-config) #:use-module (gnu packages guile) #:use-module (gnu packages guile-xyz) #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages wm) #:use-module (gnu packages zig) - #:use-module (guix build-system zig) + #:use-module (gnu packages zig-xyz) + #:use-module (gnu packages) #:use-module (guix build-system gnu) + #:use-module (guix build-system zig) #:use-module (guix gexp) - #:use-module (guix utils) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix transformations) + #:use-module (guix utils) #:use-module ((guix licenses) #:prefix license:)) (define-public awesome-next @@ -135,3 +136,14 @@ which case the previously focused tags are focused again.") ((package-input-rewriting `((,wireplumber . ,wireplumber-minimal))) waybar)) + +(define-public river-minimal + (package/inherit river + (name "river-minimal") + (arguments + (substitute-keyword-arguments (package-arguments river) + ;; Please, no xwayland here, thank you very much + ((#:zig-build-flags flags #~'()) #~'()))) + (native-inputs + (modify-inputs (package-native-inputs river) + (delete "libxkbcommon")))))