summaryrefslogtreecommitdiff
path: root/gnu/packages/haskell.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-03-07 11:19:10 +0100
committerLudovic Courtès <ludo@gnu.org>2026-03-20 13:27:15 +0100
commit2a50c9598bb7fe4175c4f29df07656a7f0a07801 (patch)
tree90e02e712b28397979c06d3fe1cf9ca6be201871 /gnu/packages/haskell.scm
parenta7c8e68dc51144a6d3981b770aca9c4897fc7c0c (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/haskell.scm')
-rw-r--r--gnu/packages/haskell.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 32b6fe9a058..4aa17d1718d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1563,7 +1563,7 @@ interactive environment for the functional language Haskell.")
1563 (patches (search-patches "ghc-9.2-cabal-support-package-path.patch" 1563 (patches (search-patches "ghc-9.2-cabal-support-package-path.patch"
1564 "ghc-9-StgCRunAsm-only-when-needed.patch")))) 1564 "ghc-9-StgCRunAsm-only-when-needed.patch"))))
1565 (arguments 1565 (arguments
1566 (substitute-keyword-arguments (package-arguments base) 1566 (substitute-keyword-arguments arguments
1567 ((#:phases phases '%standard-phases) 1567 ((#:phases phases '%standard-phases)
1568 #~(modify-phases #$phases 1568 #~(modify-phases #$phases
1569 ;; File Common.hs has been moved to src/ in this release. 1569 ;; File Common.hs has been moved to src/ in this release.
@@ -1706,7 +1706,7 @@ SRC_HC_OPTS += -optc-mno-outline-atomics
1706 "1qk7rlqf02s3b6m6sqqngmjq1mxnrz88h159lz6k25gddmdg5kp8")) 1706 "1qk7rlqf02s3b6m6sqqngmjq1mxnrz88h159lz6k25gddmdg5kp8"))
1707 (patches (search-patches "ghc-9-StgCRunAsm-only-when-needed.patch")))) 1707 (patches (search-patches "ghc-9-StgCRunAsm-only-when-needed.patch"))))
1708 (arguments 1708 (arguments
1709 (substitute-keyword-arguments (package-arguments base) 1709 (substitute-keyword-arguments arguments
1710 ((#:phases phases '%standard-phases) 1710 ((#:phases phases '%standard-phases)
1711 #~(modify-phases #$phases 1711 #~(modify-phases #$phases
1712 ;; Files don’t exist any more. 1712 ;; Files don’t exist any more.