about summary refs log tree commit diff
path: root/pkgs/applications/version-management/fossil/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/version-management/fossil/default.nix')
-rw-r--r--pkgs/applications/version-management/fossil/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/fossil/default.nix b/pkgs/applications/version-management/fossil/default.nix
index b1b828d47959..9443c1e9cdea 100644
--- a/pkgs/applications/version-management/fossil/default.nix
+++ b/pkgs/applications/version-management/fossil/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
   nativeBuildInputs = [ installShellFiles tcl tcllib ];
 
   buildInputs = [ zlib openssl readline which ed ]
-    ++ lib.optional stdenv.isDarwin libiconv
+    ++ lib.optional stdenv.hostPlatform.isDarwin libiconv
     ++ lib.optional (!withInternalSqlite) sqlite;
 
   enableParallelBuilding = true;