about summary refs log tree commit diff
path: root/pkgs/servers/shairplay/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/shairplay/default.nix')
-rw-r--r--pkgs/servers/shairplay/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/shairplay/default.nix b/pkgs/servers/shairplay/default.nix
index 2a7e643b60fd..63de8df58fd8 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 = lib.optionalString stdenv.isLinux ''
+  preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchelf \
       --set-rpath "${lib.makeLibraryPath buildInputs}:$out/lib" \
       $out/bin/shairplay