about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-darwin.nix
diff options
context:
space:
mode:
authorlukasepple <git@lukasepple.de>2021-08-06 15:43:20 +0200
committerlukasepple <git@lukasepple.de>2021-08-06 15:44:18 +0200
commit6978384f2147727bc50d6a656e445b45a4a6c0a0 (patch)
tree4ca9157d1aa085638a72a52daed0c7767415bffe /pkgs/development/haskell-modules/configuration-darwin.nix
parente4969a6b76c80cd52a0b95e42dfdbec4675265e7 (diff)
haskellPackages.c2hsc: fix build on darwin
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-darwin.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-darwin.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix
index bc5e6fa8b9f2c..754f036b29d28 100644
--- a/pkgs/development/haskell-modules/configuration-darwin.nix
+++ b/pkgs/development/haskell-modules/configuration-darwin.nix
@@ -247,4 +247,7 @@ self: super: {
   # https://github.com/acid-state/acid-state/issues/133
   acid-state = dontCheck super.acid-state;
 
+  # Otherwise impure gcc is used, which is Apple's weird wrapper
+  c2hsc = addTestToolDepends super.c2hsc [ pkgs.gcc ];
+
 }