mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
shairplay: fix darwin build
/cc ZHF #36454
(cherry picked from commit 3ca8b20328)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user