about summary refs log tree commit diff
path: root/pkgs/development/tools/nufmt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/nufmt/default.nix')
-rw-r--r--pkgs/development/tools/nufmt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/nufmt/default.nix b/pkgs/development/tools/nufmt/default.nix
index 4c9e6ff4af6a..e5e656877ef9 100644
--- a/pkgs/development/tools/nufmt/default.nix
+++ b/pkgs/development/tools/nufmt/default.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
     hash = "sha256-BwKLl8eMCrqVt9PA5SHAXxu3ypP2ePcSuljKL+wSkvw=";
   };
 
-  buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
     IOKit
   ]);