about summary refs log tree commit diff
path: root/pkgs/by-name/da/darling-dmg/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/da/darling-dmg/package.nix')
-rw-r--r--pkgs/by-name/da/darling-dmg/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/da/darling-dmg/package.nix b/pkgs/by-name/da/darling-dmg/package.nix
index 4fca75a45bc8..3053982a6476 100644
--- a/pkgs/by-name/da/darling-dmg/package.nix
+++ b/pkgs/by-name/da/darling-dmg/package.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
 
   nativeBuildInputs = [ cmake ];
   buildInputs = [ fuse openssl zlib bzip2 libxml2 icu lzfse ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   CXXFLAGS = [
     "-DCOMPILE_WITH_LZFSE=1"