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/base.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/base.scm')
| -rw-r--r-- | gnu/packages/base.scm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 363453b8a9a..8337f602772 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm | |||
| @@ -602,7 +602,7 @@ standard.") | |||
| 602 | (base32 | 602 | (base32 |
| 603 | "0mxhw43d4wpqmvg0l4znk1vm10fy92biyh90lzdnqjcic2lb6cg8")))) | 603 | "0mxhw43d4wpqmvg0l4znk1vm10fy92biyh90lzdnqjcic2lb6cg8")))) |
| 604 | (arguments | 604 | (arguments |
| 605 | (substitute-keyword-arguments (package-arguments coreutils-minimal) | 605 | (substitute-keyword-arguments arguments |
| 606 | ((#:phases phases '%standard-phases) | 606 | ((#:phases phases '%standard-phases) |
| 607 | `(modify-phases ,phases | 607 | `(modify-phases ,phases |
| 608 | (add-before 'check 'disable-broken-test | 608 | (add-before 'check 'disable-broken-test |
| @@ -756,7 +756,7 @@ included.") | |||
| 756 | "1cmd0riv37bqy9mwbg6n3523qgr8b3bbm5kwj19sjrasl4yq9d0c")) | 756 | "1cmd0riv37bqy9mwbg6n3523qgr8b3bbm5kwj19sjrasl4yq9d0c")) |
| 757 | (patches '()))) | 757 | (patches '()))) |
| 758 | (arguments | 758 | (arguments |
| 759 | (substitute-keyword-arguments (package-arguments binutils) | 759 | (substitute-keyword-arguments arguments |
| 760 | ((#:make-flags _ #~'()) #~'()))) | 760 | ((#:make-flags _ #~'()) #~'()))) |
| 761 | (native-inputs '()) | 761 | (native-inputs '()) |
| 762 | (properties '()))) | 762 | (properties '()))) |
| @@ -774,7 +774,7 @@ included.") | |||
| 774 | (sha256 | 774 | (sha256 |
| 775 | (base32 "1j64m2czn9ygd5g1cjjcw7q43b18xh6qkrdl1pkm03ncjnj3wwrl")))) | 775 | (base32 "1j64m2czn9ygd5g1cjjcw7q43b18xh6qkrdl1pkm03ncjnj3wwrl")))) |
| 776 | (arguments | 776 | (arguments |
| 777 | (substitute-keyword-arguments (package-arguments binutils) | 777 | (substitute-keyword-arguments arguments |
| 778 | ((#:configure-flags flags) | 778 | ((#:configure-flags flags) |
| 779 | #~(cons* "--enable-gold=default" | 779 | #~(cons* "--enable-gold=default" |
| 780 | (delete "LDFLAGS=-static-libgcc" #$flags))) | 780 | (delete "LDFLAGS=-static-libgcc" #$flags))) |
| @@ -802,7 +802,7 @@ included.") | |||
| 802 | (modify-inputs (package-native-inputs binutils) | 802 | (modify-inputs (package-native-inputs binutils) |
| 803 | (append texinfo))) ; because makeinfo is needed when building bfd alone | 803 | (append texinfo))) ; because makeinfo is needed when building bfd alone |
| 804 | (arguments | 804 | (arguments |
| 805 | (substitute-keyword-arguments (package-arguments binutils) | 805 | (substitute-keyword-arguments arguments |
| 806 | ;; Only build as a shared library | 806 | ;; Only build as a shared library |
| 807 | ((#:configure-flags flags) | 807 | ((#:configure-flags flags) |
| 808 | #~(append #$flags '("--enable-shared" "--disable-static"))) | 808 | #~(append #$flags '("--enable-shared" "--disable-static"))) |
| @@ -1295,7 +1295,7 @@ with the Linux kernel.") | |||
| 1295 | "glibc-hurd-mach-print.patch" | 1295 | "glibc-hurd-mach-print.patch" |
| 1296 | "glibc-hurd-gettyent.patch")))) | 1296 | "glibc-hurd-gettyent.patch")))) |
| 1297 | (arguments | 1297 | (arguments |
| 1298 | (substitute-keyword-arguments (package-arguments glibc) | 1298 | (substitute-keyword-arguments arguments |
| 1299 | ((#:configure-flags flags #~'()) | 1299 | ((#:configure-flags flags #~'()) |
| 1300 | #~(cons* "CFLAGS=-g -O2 -Wno-error=builtin-declaration-mismatch" | 1300 | #~(cons* "CFLAGS=-g -O2 -Wno-error=builtin-declaration-mismatch" |
| 1301 | "--enable-crypt" | 1301 | "--enable-crypt" |
| @@ -1335,7 +1335,7 @@ with the Linux kernel.") | |||
| 1335 | "glibc-hurd-clock_gettime_monotonic.patch"))) | 1335 | "glibc-hurd-clock_gettime_monotonic.patch"))) |
| 1336 | (origin-patches (package-source glibc-2.35))))))) | 1336 | (origin-patches (package-source glibc-2.35))))))) |
| 1337 | (arguments | 1337 | (arguments |
| 1338 | (substitute-keyword-arguments (package-arguments glibc) | 1338 | (substitute-keyword-arguments arguments |
| 1339 | ((#:configure-flags flags #~'()) | 1339 | ((#:configure-flags flags #~'()) |
| 1340 | #~(cons* #$(string-append | 1340 | #~(cons* #$(string-append |
| 1341 | "CFLAGS=-g -O2" | 1341 | "CFLAGS=-g -O2" |
| @@ -1747,7 +1747,7 @@ and daylight-saving rules.") | |||
| 1747 | (hidden-package | 1747 | (hidden-package |
| 1748 | (package/inherit tzdata | 1748 | (package/inherit tzdata |
| 1749 | (arguments | 1749 | (arguments |
| 1750 | (substitute-keyword-arguments (package-arguments tzdata) | 1750 | (substitute-keyword-arguments arguments |
| 1751 | ((#:phases phases) | 1751 | ((#:phases phases) |
| 1752 | #~(modify-phases #$phases | 1752 | #~(modify-phases #$phases |
| 1753 | (add-after 'post-install 'install-leap-seconds | 1753 | (add-after 'post-install 'install-leap-seconds |
