about summary refs log tree commit diff
path: root/pkgs/tools/misc/pfetch-rs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/pfetch-rs/default.nix')
-rw-r--r--pkgs/tools/misc/pfetch-rs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/pfetch-rs/default.nix b/pkgs/tools/misc/pfetch-rs/default.nix
index 0a2e3c9ec38d..f86b71f72c7b 100644
--- a/pkgs/tools/misc/pfetch-rs/default.nix
+++ b/pkgs/tools/misc/pfetch-rs/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-/gYL32kUA4gKTGogMrOghQ3XYFjw3GsDhzynUC/OyXY=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.AppKit
     darwin.apple_sdk.frameworks.DisplayServices
   ];