From 6978384f2147727bc50d6a656e445b45a4a6c0a0 Mon Sep 17 00:00:00 2001 From: lukasepple Date: Fri, 6 Aug 2021 15:43:20 +0200 Subject: [PATCH] haskellPackages.c2hsc: fix build on darwin --- pkgs/development/haskell-modules/configuration-darwin.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index bc5e6fa8b9f..754f036b29d 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 ]; + }