From 12deb60a67f7b5768d23773b27bf6d69ae1bb8b6 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sun, 25 Mar 2018 15:33:36 +0200 Subject: [PATCH] shairplay: fix darwin build /cc ZHF #36454 (cherry picked from commit 3ca8b20328ca6aebe15e6356be2c2249c2a5a67f) --- pkgs/servers/shairplay/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/shairplay/default.nix b/pkgs/servers/shairplay/default.nix index 33e2f39280add..f9b17b947cf55 100644 --- a/pkgs/servers/shairplay/default.nix +++ b/pkgs/servers/shairplay/default.nix @@ -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