trellis: fix build for darwin
This commit is contained in:
parent
9730df15c3
commit
87ca1442f9
|
@ -41,6 +41,12 @@ in stdenv.mkDerivation rec {
|
|||
cd libtrellis
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
for f in $out/bin/* ; do
|
||||
install_name_tool -change "$out/lib/libtrellis.dylib" "$out/lib/trellis/libtrellis.dylib" "$f"
|
||||
done
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
|
|
Loading…
Reference in a new issue