about summary refs log tree commit diff
path: root/pkgs/tools/package-management/nix-du/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/package-management/nix-du/default.nix')
-rw-r--r--pkgs/tools/package-management/nix-du/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/package-management/nix-du/default.nix b/pkgs/tools/package-management/nix-du/default.nix
index 8b2463ccce4c..69289b8955b7 100644
--- a/pkgs/tools/package-management/nix-du/default.nix
+++ b/pkgs/tools/package-management/nix-du/default.nix
@@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec {
     boost
     nix
     nlohmann_json
-  ] ++ lib.optionals stdenv.isDarwin [ Security ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];