about summary refs log tree commit diff
path: root/pkgs/tools/misc/aoc-cli/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/aoc-cli/default.nix')
-rw-r--r--pkgs/tools/misc/aoc-cli/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/aoc-cli/default.nix b/pkgs/tools/misc/aoc-cli/default.nix
index 4fec5647e04d..693f87389e1b 100644
--- a/pkgs/tools/misc/aoc-cli/default.nix
+++ b/pkgs/tools/misc/aoc-cli/default.nix
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [ openssl ]
-    ++ lib.optional stdenv.isDarwin Security;
+    ++ lib.optional stdenv.hostPlatform.isDarwin Security;
 
   cargoHash = "sha256-EluP4N3UBQeEKVdHTs4O0THXji+nAyE52nGKsxA3AA4=";