1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

shairplay: fix darwin build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan 2018-03-25 15:33:36 +02:00
parent 82b41525c0
commit 3ca8b20328
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# the build will fail without complaining about a reference to /tmp
preFixup = ''
preFixup = stdenv.lib.optionalString stdenv.isLinux ''
patchelf \
--set-rpath "${stdenv.lib.makeLibraryPath buildInputs}:$out/lib" \
$out/bin/shairplay