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/electronics.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/electronics.scm')
| -rw-r--r-- | gnu/packages/electronics.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index ea1923a8069..209e481ff8c 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -1762,7 +1762,7 @@ which allows one to install the M8 firmware on any Teensy.") (inherit m8c) (name "m8c-serial") (arguments - (substitute-keyword-arguments (package-arguments m8c) + (substitute-keyword-arguments arguments ((#:configure-flags flags) #~(cons* "-DUSE_LIBSERIAL=ON" (delete "-DUSE_LIBUSB=ON" #$flags))))) @@ -2054,7 +2054,7 @@ Automation}, portable and vendor neutral FPGA place and route tool.") (arguments (delkw #:qtbase - (substitute-keyword-arguments (package-arguments nextpnr) + (substitute-keyword-arguments arguments ((#:configure-flags flags '()) #~(delete! "-DBUILD_GUI=ON" #$flags))))) (synopsis @@ -2069,7 +2069,7 @@ Automation}, portable and vendor neutral FPGA place and route tool.") (inherit libngspice) (name "ngspice") (arguments - (substitute-keyword-arguments (package-arguments libngspice) + (substitute-keyword-arguments arguments ;; Tests require a X server running, so we keep them disabled ((#:configure-flags flags) #~(cons* "--enable-rpath" "--with-x" "--with-readline=yes" @@ -2536,7 +2536,7 @@ clock tree synthesis, routing, parasitic extraction, and timing analysis.") (arguments (delkw #:qtbase - (substitute-keyword-arguments (package-arguments openroad) + (substitute-keyword-arguments arguments ((#:configure-flags flags '()) #~(cons* "-DBUILD_GUI=OFF" (delete! "-DBUILD_GUI=ON" #$flags)))))) @@ -2690,7 +2690,7 @@ verification.") (sha256 (base32 "1kn18ibvm7bzdyw2d914284wriravyh5qwfarj06pb052x1yblyx")))) (arguments - (substitute-keyword-arguments (package-arguments osvvm) + (substitute-keyword-arguments arguments ((#:tests? _ #t) #f) ((#:phases phases #~%standard-phases) |
