about summary refs log tree commit diff
path: root/pkgs/tools/misc/rust-motd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/rust-motd/default.nix')
-rw-r--r--pkgs/tools/misc/rust-motd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/rust-motd/default.nix b/pkgs/tools/misc/rust-motd/default.nix
index 26b582e5e944..df79acf5f1c5 100644
--- a/pkgs/tools/misc/rust-motd/default.nix
+++ b/pkgs/tools/misc/rust-motd/default.nix
@@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [
     openssl
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Security
   ];