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/elf.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/elf.scm')
| -rw-r--r-- | gnu/packages/elf.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/elf.scm b/gnu/packages/elf.scm index a670d716409..3ed2cde0428 100644 --- a/gnu/packages/elf.scm +++ b/gnu/packages/elf.scm | |||
| @@ -319,7 +319,7 @@ static analysis of the ELF binaries at hand.") | |||
| 319 | (package | 319 | (package |
| 320 | (inherit libelf) | 320 | (inherit libelf) |
| 321 | (arguments | 321 | (arguments |
| 322 | (substitute-keyword-arguments (package-arguments libelf) | 322 | (substitute-keyword-arguments arguments |
| 323 | ((#:make-flags flags #~'()) | 323 | ((#:make-flags flags #~'()) |
| 324 | #~(append #$flags '("CFLAGS=-fPIC"))))) | 324 | #~(append #$flags '("CFLAGS=-fPIC"))))) |
| 325 | (properties `((hidden? . #t) ,@(package-properties libelf))))) | 325 | (properties `((hidden? . #t) ,@(package-properties libelf))))) |
| @@ -389,7 +389,7 @@ changed.") | |||
| 389 | (base32 | 389 | (base32 |
| 390 | "0zdby3gpmm8q4735pviaq92zj41i2rdnhwhyrsb3sinc9hzmz4db")))) | 390 | "0zdby3gpmm8q4735pviaq92zj41i2rdnhwhyrsb3sinc9hzmz4db")))) |
| 391 | (arguments | 391 | (arguments |
| 392 | (substitute-keyword-arguments (package-arguments patchelf) | 392 | (substitute-keyword-arguments arguments |
| 393 | ((#:phases phases '%standard-phases) | 393 | ((#:phases phases '%standard-phases) |
| 394 | #~(modify-phases #$phases | 394 | #~(modify-phases #$phases |
| 395 | (add-after 'fix-tests 'skip-empty-rpath-test | 395 | (add-after 'fix-tests 'skip-empty-rpath-test |
