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/zig.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/zig.scm')
| -rw-r--r-- | gnu/packages/zig.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm index 3801ac8ad53..089305ef8a5 100644 --- a/gnu/packages/zig.scm +++ b/gnu/packages/zig.scm | |||
| @@ -362,7 +362,7 @@ toolchain. Among other features it provides | |||
| 362 | version commit | 362 | version commit |
| 363 | "08pm3f4hh6djl3szhqgm7fa3qisdl2xh9jrp18m0z7bk2vd0bzw7")) | 363 | "08pm3f4hh6djl3szhqgm7fa3qisdl2xh9jrp18m0z7bk2vd0bzw7")) |
| 364 | (arguments | 364 | (arguments |
| 365 | (substitute-keyword-arguments (package-arguments base) | 365 | (substitute-keyword-arguments arguments |
| 366 | ;; Patch for fixing RUNPATH not applied to intermediate versions. | 366 | ;; Patch for fixing RUNPATH not applied to intermediate versions. |
| 367 | ((#:validate-runpath? _ #t) #f) | 367 | ((#:validate-runpath? _ #t) #f) |
| 368 | ;; Patch for cross-compilation not applied to intermediate versions. | 368 | ;; Patch for cross-compilation not applied to intermediate versions. |
| @@ -439,7 +439,7 @@ toolchain. Among other features it provides | |||
| 439 | "1qsfsv8wg0kz616sgj7dw9ihdz5rsm80p3ambl5lnkrjhwym7z7x")) | 439 | "1qsfsv8wg0kz616sgj7dw9ihdz5rsm80p3ambl5lnkrjhwym7z7x")) |
| 440 | (patches (search-patches "zig-0.10.0-675-TypeOf-hack.patch")))) | 440 | (patches (search-patches "zig-0.10.0-675-TypeOf-hack.patch")))) |
| 441 | (arguments | 441 | (arguments |
| 442 | (substitute-keyword-arguments (package-arguments base) | 442 | (substitute-keyword-arguments arguments |
| 443 | ((#:phases phases '%standard-phases) | 443 | ((#:phases phases '%standard-phases) |
| 444 | #~(modify-phases #$phases | 444 | #~(modify-phases #$phases |
| 445 | (add-after 'unpack 'set-host-triple | 445 | (add-after 'unpack 'set-host-triple |
| @@ -488,7 +488,7 @@ toolchain. Among other features it provides | |||
| 488 | version commit | 488 | version commit |
| 489 | "0829wymcwph71zlwql6v7i7j9gr1m96acyp2xsr69vq2h98wmlap")) | 489 | "0829wymcwph71zlwql6v7i7j9gr1m96acyp2xsr69vq2h98wmlap")) |
| 490 | (arguments | 490 | (arguments |
| 491 | (substitute-keyword-arguments (package-arguments base) | 491 | (substitute-keyword-arguments arguments |
| 492 | ((#:phases phases '%standard-phases) | 492 | ((#:phases phases '%standard-phases) |
| 493 | #~(modify-phases #$phases | 493 | #~(modify-phases #$phases |
| 494 | (replace 'prepare-source | 494 | (replace 'prepare-source |
