about summary refs log tree commit diff
path: root/pkgs/by-name/ni/nix-btm/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ni/nix-btm/package.nix')
-rw-r--r--pkgs/by-name/ni/nix-btm/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ni/nix-btm/package.nix b/pkgs/by-name/ni/nix-btm/package.nix
index 42496a5bff03..a7d94b4863b5 100644
--- a/pkgs/by-name/ni/nix-btm/package.nix
+++ b/pkgs/by-name/ni/nix-btm/package.nix
@@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-qUZ3zJjQrteFQerBKFH/+Ys0uOzvI7DH9rCaVtseJMM=";
 
-  buildInputs = lib.optionals stdenv.isDarwin
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin
     (with darwin.apple_sdk.frameworks; [ CoreServices SystemConfiguration ]);
 
   meta = with lib; {