mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
ghc-7.8.1: fix build on recent versions of Darwin
This commit is contained in:
parent
ec8e5b99fc
commit
e54ae8cce1
1 changed files with 1 additions and 0 deletions
|
@ -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}"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue