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/cryptsetup.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/cryptsetup.scm')
| -rw-r--r-- | gnu/packages/cryptsetup.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm index 2d2a2fbf60c..925f5489c52 100644 --- a/gnu/packages/cryptsetup.scm +++ b/gnu/packages/cryptsetup.scm | |||
| @@ -122,7 +122,7 @@ files). This assumes LIBRARY uses Libtool." | |||
| 122 | (inherit library) | 122 | (inherit library) |
| 123 | (name (string-append (package-name library) "-static")) | 123 | (name (string-append (package-name library) "-static")) |
| 124 | (arguments | 124 | (arguments |
| 125 | (substitute-keyword-arguments (package-arguments library) | 125 | (substitute-keyword-arguments arguments |
| 126 | ((#:configure-flags flags #~'()) | 126 | ((#:configure-flags flags #~'()) |
| 127 | (let* ((build-system (package-build-system library)) | 127 | (let* ((build-system (package-build-system library)) |
| 128 | (static-flags (cond ((eq? build-system cmake-build-system) | 128 | (static-flags (cond ((eq? build-system cmake-build-system) |
| @@ -138,7 +138,7 @@ files). This assumes LIBRARY uses Libtool." | |||
| 138 | (inherit cryptsetup-minimal) | 138 | (inherit cryptsetup-minimal) |
| 139 | (name "cryptsetup-static") | 139 | (name "cryptsetup-static") |
| 140 | (arguments | 140 | (arguments |
| 141 | (substitute-keyword-arguments (package-arguments cryptsetup-minimal) | 141 | (substitute-keyword-arguments arguments |
| 142 | ((#:configure-flags flags ''()) | 142 | ((#:configure-flags flags ''()) |
| 143 | `(cons* "--disable-shared" | 143 | `(cons* "--disable-shared" |
| 144 | "--enable-static-cryptsetup" | 144 | "--enable-static-cryptsetup" |
