mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
discount: fix up dylib paths on darwin
This commit is contained in:
parent
95b000c69e
commit
c81ba0d29c
@ -26,7 +26,10 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
postFixup = lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -id $out/lib/libmarkdown.dylib $out/lib/libmarkdown.dylib
|
||||
install_name_tool -id "$out/lib/libmarkdown.dylib" "$out/lib/libmarkdown.dylib"
|
||||
for exe in $out/bin/*; do
|
||||
install_name_tool -change libmarkdown.dylib "$out/lib/libmarkdown.dylib" "$exe"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user