about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-nix.nix
diff options
context:
space:
mode:
authormaralorn <mail@maralorn.de>2023-08-08 15:18:17 +0200
committermaralorn <mail@maralorn.de>2023-08-08 16:04:04 +0200
commitc9ac4ccecbc56ed58a01192462c1d232050bc0c8 (patch)
tree0a0c7250d4719d8d90204a671509214ad41c895e /pkgs/development/haskell-modules/configuration-nix.nix
parentd2aaed5f9a04ef487ec48c2e0fe3dfa006a3378f (diff)
haskellPackages.{webkit2gtk3-javascriptscore,gi-webkit2}: Populate pkg-config based on metadata
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-nix.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-nix.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index ec4fd44237f7d..22608fd6985bf 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -1314,7 +1314,10 @@ self: super: builtins.intersectAttrs super {
   sydtest = dontCheck super.sydtest;
 
   # Prevent argv limit being exceeded when invoking $CC.
-  gi-javascriptcore = overrideCabal {
+  inherit (lib.mapAttrs (_: overrideCabal {
     __onlyPropagateKnownPkgConfigModules = true;
-  } super.gi-javascriptcore;
+    }) super)
+      gi-javascriptcore
+      webkit2gtk3-javascriptcore
+      gi-webkit2;
 }