about summary refs log tree commit diff
path: root/pkgs/tools/misc/minicom/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/minicom/default.nix')
-rw-r--r--pkgs/tools/misc/minicom/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/minicom/default.nix b/pkgs/tools/misc/minicom/default.nix
index 50043a132b14..89653c26d6a0 100644
--- a/pkgs/tools/misc/minicom/default.nix
+++ b/pkgs/tools/misc/minicom/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-+fKvHrApDXm94LItXv+xSDIE5zD7rTY5IeNSuzQglpg=";
   };
 
-  buildInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ libiconv IOKit ];
+  buildInputs = [ ncurses ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv IOKit ];
 
   nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ];