diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2026-03-07 11:19:10 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2026-03-20 13:27:15 +0100 |
| commit | 2a50c9598bb7fe4175c4f29df07656a7f0a07801 (patch) | |
| tree | 90e02e712b28397979c06d3fe1cf9ca6be201871 /gnu/packages/rust-apps.scm | |
| parent | a7c8e68dc51144a6d3981b770aca9c4897fc7c0c (diff) | |
gnu: Reference the inherited ‘arguments’ value.
This commit was made by running this command:
sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm
… and then:
1. reverting changes from ‘gnu/packages/rust.scm’ and
‘gnu/packages/java.scm’ since they would incur derivation changes and/or
breakage;
2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’;
3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’,
which use ‘substitute-keyword-arguments’ for arguments that are not
inherited (and thus ‘arguments’ would be unbound);
4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’
which make bogus assumptions about inherited arguments.
Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
Diffstat (limited to 'gnu/packages/rust-apps.scm')
| -rw-r--r-- | gnu/packages/rust-apps.scm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 55cb7b1a849..a89a09de057 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -4621,7 +4621,7 @@ and users are in full control of their data and workflow.") (inherit rust-xremap) (name "xremap-gnome") (arguments - (substitute-keyword-arguments (package-arguments rust-xremap) + (substitute-keyword-arguments arguments ((#:features _) '(list "gnome")))))) (define-public xremap-hyprland @@ -4629,7 +4629,7 @@ and users are in full control of their data and workflow.") (inherit rust-xremap) (name "xremap-hyprland") (arguments - (substitute-keyword-arguments (package-arguments rust-xremap) + (substitute-keyword-arguments arguments ((#:features _) '(list "hypr")))))) (define-public xremap-kde @@ -4637,7 +4637,7 @@ and users are in full control of their data and workflow.") (inherit rust-xremap) (name "xremap-kde") (arguments - (substitute-keyword-arguments (package-arguments rust-xremap) + (substitute-keyword-arguments arguments ((#:features _) '(list "kde")))))) (define-public xremap-niri @@ -4645,7 +4645,7 @@ and users are in full control of their data and workflow.") (inherit rust-xremap) (name "xremap-niri") (arguments - (substitute-keyword-arguments (package-arguments rust-xremap) + (substitute-keyword-arguments arguments ((#:features _) '(list "niri")))))) (define-public xremap-wlroots @@ -4653,7 +4653,7 @@ and users are in full control of their data and workflow.") (inherit rust-xremap) (name "xremap-wlroots") (arguments - (substitute-keyword-arguments (package-arguments rust-xremap) + (substitute-keyword-arguments arguments ((#:features _) '(list "wlroots")))))) (define-deprecated-package xremap-sway @@ -4664,7 +4664,7 @@ and users are in full control of their data and workflow.") (inherit rust-xremap) (name "xremap-x11") (arguments - (substitute-keyword-arguments (package-arguments rust-xremap) + (substitute-keyword-arguments arguments ((#:features _) '(list "x11")))))) (define-public xsv |
