about summary refs log tree commit diff
path: root/pkgs/development/tools/sauce-connect/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/sauce-connect/default.nix')
-rw-r--r--pkgs/development/tools/sauce-connect/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/sauce-connect/default.nix b/pkgs/development/tools/sauce-connect/default.nix
index 562125acf068..6d3c5434e20a 100644
--- a/pkgs/development/tools/sauce-connect/default.nix
+++ b/pkgs/development/tools/sauce-connect/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ unzip ];
 
-  patchPhase = lib.optionalString stdenv.isLinux ''
+  patchPhase = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchelf \
       --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
       --set-rpath "$out/lib:${lib.makeLibraryPath [zlib]}" \