about summary refs log tree commit diff
path: root/pkgs/applications/version-management/tig/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/tig/default.nix')
-rw-r--r--pkgs/applications/version-management/tig/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/tig/default.nix b/pkgs/applications/version-management/tig/default.nix
index b4a8533d468e..6c90d24e55bf 100644
--- a/pkgs/applications/version-management/tig/default.nix
+++ b/pkgs/applications/version-management/tig/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
   autoreconfFlags = [ "-I" "tools" "-v" ];
 
   buildInputs = [ ncurses readline git ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   # those files are inherently impure, we'll handle the corresponding dependencies.
   postPatch = ''