about summary refs log tree commit diff
path: root/pkgs/tools/misc/envchain/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/envchain/default.nix')
-rw-r--r--pkgs/tools/misc/envchain/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/envchain/default.nix b/pkgs/tools/misc/envchain/default.nix
index 984dd60082e3..22a007536399 100644
--- a/pkgs/tools/misc/envchain/default.nix
+++ b/pkgs/tools/misc/envchain/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkg-config ];
 
   buildInputs = [ libsecret readline ]
-    ++ lib.optionals stdenv.isDarwin [ libedit ncurses Security ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libedit ncurses Security ];
 
   makeFlags = [ "DESTDIR=$(out)" ];