mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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
This commit is contained in:
@@ -403,7 +403,7 @@ object-oriented library such as @code{scikit-learn}.")
|
||||
(package/inherit python-anndata
|
||||
(name "python-anndata-minimal")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments python-anndata)
|
||||
(substitute-keyword-arguments arguments
|
||||
((#:tests? _ #t) #f)))
|
||||
(native-inputs
|
||||
(list python-hatch-vcs
|
||||
@@ -1948,7 +1948,7 @@ between dataframe libraries.
|
||||
(package/inherit python-narwhals
|
||||
(name "python-narwhals-minimal")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments python-anndata)
|
||||
(substitute-keyword-arguments arguments
|
||||
((#:tests? _ #t) #f)))
|
||||
(native-inputs
|
||||
(list python-hatchling))
|
||||
|
||||
Reference in New Issue
Block a user