From 2118e66fc310297e9a8ebe0cfb25fe7583206477 Mon Sep 17 00:00:00 2001 From: Jorge Acereda Date: Sun, 6 Jan 2019 22:56:50 +0100 Subject: [PATCH] futhark: fix darwin build --- pkgs/development/haskell-modules/configuration-nix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 62f2782e8f7..37c1d2ce653 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -532,7 +532,7 @@ self: super: builtins.intersectAttrs super { # The test-suite requires a running PostgreSQL server. Frames-beam = dontCheck super.Frames-beam; - futhark = with pkgs; + futhark = if pkgs.stdenv.isDarwin then super.futhark else with pkgs; let path = stdenv.lib.makeBinPath [ gcc ]; in overrideCabal (addBuildTool super.futhark makeWrapper) (_drv: { postInstall = ''