futhark: fix darwin build

This commit is contained in:
Jorge Acereda 2019-01-06 22:56:50 +01:00
parent a339eec2f5
commit 2118e66fc3

View File

@ -532,7 +532,7 @@ self: super: builtins.intersectAttrs super {
# The test-suite requires a running PostgreSQL server. # The test-suite requires a running PostgreSQL server.
Frames-beam = dontCheck super.Frames-beam; 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 ]; let path = stdenv.lib.makeBinPath [ gcc ];
in overrideCabal (addBuildTool super.futhark makeWrapper) (_drv: { in overrideCabal (addBuildTool super.futhark makeWrapper) (_drv: {
postInstall = '' postInstall = ''