ghc-HEAD: fix build on recent versions of Darwin

This commit is contained in:
Peter Simons
2014-03-22 17:08:47 +01:00
parent e54ae8cce1
commit 5c3be05e90
+1
View File
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
preConfigure = ''
echo "${buildMK}" > mk/build.mk
sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath $out/lib/ghc-${version}"
'';