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/gtk.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/gtk.scm')
| -rw-r--r-- | gnu/packages/gtk.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 781e43d9dd7..9eea8b4919c 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -251,7 +251,7 @@ output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.") (modify-inputs (package-native-inputs cairo) (prepend gtk-doc/stable))) (arguments - (substitute-keyword-arguments (package-arguments cairo) + (substitute-keyword-arguments arguments ((#:configure-flags flags ''()) #~(cons "-Dgtk_doc=true" #$flags)) ((#:phases phases '%standard-phases) @@ -278,7 +278,7 @@ output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB.") `(("mesa" ,mesa) ,@(package-inputs cairo))) (arguments - (substitute-keyword-arguments (package-arguments cairo) + (substitute-keyword-arguments arguments ((#:configure-flags flags ''()) #~(cons "-Dxlib-xcb=enabled" #$flags)))) (synopsis "2D graphics library (with X11 support)"))) @@ -642,7 +642,7 @@ highlighting and other features typical of a source code editor.") (list #:configure-flags #~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")) - (substitute-keyword-arguments (package-arguments gtksourceview) + (substitute-keyword-arguments arguments ((#:phases phases) `(modify-phases ,phases (delete 'disable-gtk-update-icon-cache)))))))) @@ -855,7 +855,7 @@ is part of the GNOME accessibility project.") (package/inherit at-spi2-core (outputs (cons "doc" (package-outputs at-spi2-core))) (arguments - (substitute-keyword-arguments (package-arguments at-spi2-core) + (substitute-keyword-arguments arguments ((#:configure-flags flags ''()) #~(cons #$(if (%current-target-system) "-Ddocs=false" @@ -1503,7 +1503,7 @@ exceptions, macros, and a dynamic programming environment.") (base32 "0dslfldzgxis8g0g3xaffcqnd1njzz23fjy0v3lc0r2694ra4ny4")))) (arguments - (substitute-keyword-arguments (package-arguments guile-cairo) + (substitute-keyword-arguments arguments ((#:phases phases) `(modify-phases ,phases ;; To allow running the check phase before install, add two phases |
