about summary refs log tree commit diff
path: root/pkgs/tools/misc/diskus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/diskus/default.nix')
-rw-r--r--pkgs/tools/misc/diskus/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/diskus/default.nix b/pkgs/tools/misc/diskus/default.nix
index fd37b2b9c99b..683da47d6af6 100644
--- a/pkgs/tools/misc/diskus/default.nix
+++ b/pkgs/tools/misc/diskus/default.nix
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
     sha256 = "sha256-SKd2CU0F2iR4bSHntu2VKvZyjjf2XJeXJG6XS/fIBMU=";
   };
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   cargoHash = "sha256-qNXv6Z9sKl7rol78UTOSRFML/JCGfOJMGOdt49KHD50=";