about summary refs log tree commit diff
path: root/pkgs/applications/misc/diff-pdf
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/diff-pdf')
-rw-r--r--pkgs/applications/misc/diff-pdf/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/diff-pdf/default.nix b/pkgs/applications/misc/diff-pdf/default.nix
index 1d54b57c9b2f..d64d8f6ab9be 100644
--- a/pkgs/applications/misc/diff-pdf/default.nix
+++ b/pkgs/applications/misc/diff-pdf/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoconf automake pkg-config ];
   buildInputs = [ cairo poppler wxGTK ]
-    ++ lib.optionals stdenv.isDarwin [ Cocoa ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
 
   preConfigure = "./bootstrap";