about summary refs log tree commit diff
path: root/pkgs/by-name/sl/slang/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sl/slang/package.nix')
-rw-r--r--pkgs/by-name/sl/slang/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/sl/slang/package.nix b/pkgs/by-name/sl/slang/package.nix
index 162bc8395d99..7d67d22eb3e0 100644
--- a/pkgs/by-name/sl/slang/package.nix
+++ b/pkgs/by-name/sl/slang/package.nix
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
     pcre
     readline
     zlib
-  ] ++ lib.optionals (stdenv.isDarwin) [ libiconv ];
+  ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ libiconv ];
 
   propagatedBuildInputs = [ ncurses ];