about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-08-07 17:21:18 +0200
committersternenseemann <sternenseemann@systemli.org>2023-08-08 11:57:37 +0200
commit06d13d55edef963e47fb74d1bee8bfc0e9111188 (patch)
tree08db41b6c967e6801f7f5c83bd9cbd924f5e9f63 /pkgs/development/haskell-modules
parentaacf9a8c733d7d370de779e2526e6d439005039e (diff)
haskellPackages.gi-javascriptcore: respect argv limit for GHC >= 9.4
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-nix.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index 0379794a85e8b..ec4fd44237f7d 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -1312,4 +1312,9 @@ self: super: builtins.intersectAttrs super {
   # Sydtest has a brittle test suite that will only work with the exact
   # versions that it ships with.
   sydtest = dontCheck super.sydtest;
+
+  # Prevent argv limit being exceeded when invoking $CC.
+  gi-javascriptcore = overrideCabal {
+    __onlyPropagateKnownPkgConfigModules = true;
+  } super.gi-javascriptcore;
 }