mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
haskell: Fix depending on libs with internal libs on darwin.
Thanks to @hamishmack for the pointer. Fixes #33149.
This commit is contained in:
parent
bc5bf95858
commit
34a91b7922
@ -243,7 +243,7 @@ stdenv.mkDerivation ({
|
||||
# libraries) from all the dependencies.
|
||||
local dynamicLinksDir="$out/lib/links"
|
||||
mkdir -p $dynamicLinksDir
|
||||
for d in $(grep dynamic-library-dirs "$packageConfDir/"*|awk '{print $2}'); do
|
||||
for d in $(grep dynamic-library-dirs "$packageConfDir/"*|awk '{print $2}'|sort -u); do
|
||||
ln -s "$d/"*.dylib $dynamicLinksDir
|
||||
done
|
||||
# Edit the local package DB to reference the links directory.
|
||||
|
Loading…
Reference in New Issue
Block a user