Merge pull request #17145 from kalhauge/haskell_darwin_dyld
haskell-ghc: fix darwin issue
This commit is contained in:
commit
b89fa5fd5c
@ -193,6 +193,9 @@ stdenv.mkDerivation ({
|
|||||||
fi
|
fi
|
||||||
if [ -d "$p/lib" ]; then
|
if [ -d "$p/lib" ]; then
|
||||||
configureFlags+=" --extra-lib-dirs=$p/lib"
|
configureFlags+=" --extra-lib-dirs=$p/lib"
|
||||||
|
${ stdenv.lib.optionalString stdenv.isDarwin
|
||||||
|
"export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$p/lib"
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
${ghcCommand}-pkg --${packageDbFlag}="$packageConfDir" recache
|
${ghcCommand}-pkg --${packageDbFlag}="$packageConfDir" recache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user