about summary refs log tree commit diff
path: root/pkgs/by-name/tu/turbo-unwrapped/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/tu/turbo-unwrapped/package.nix')
-rw-r--r--pkgs/by-name/tu/turbo-unwrapped/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/tu/turbo-unwrapped/package.nix b/pkgs/by-name/tu/turbo-unwrapped/package.nix
index d3f0959577d14..f9228f310cc1f 100644
--- a/pkgs/by-name/tu/turbo-unwrapped/package.nix
+++ b/pkgs/by-name/tu/turbo-unwrapped/package.nix
@@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec {
       protobuf
     ]
     # https://github.com/vercel/turbo/blob/ea740706e0592b3906ab34c7cfa1768daafc2a84/CONTRIBUTING.md#linux-dependencies
-    ++ lib.optional stdenv.isLinux llvmPackages.bintools;
+    ++ lib.optional stdenv.hostPlatform.isLinux llvmPackages.bintools;
 
   buildInputs =
     [
@@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {
       rust-jemalloc-sys
       zlib
     ]
-    ++ lib.optionals stdenv.isDarwin (
+    ++ lib.optionals stdenv.hostPlatform.isDarwin (
       with darwin.apple_sdk_11_0.frameworks;
       [
         CoreFoundation