about summary refs log tree commit diff
path: root/pkgs/development/libraries/pangolin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/pangolin/default.nix')
-rw-r--r--pkgs/development/libraries/pangolin/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/pangolin/default.nix b/pkgs/development/libraries/pangolin/default.nix
index 600c7b0eb058..1dd52ab7ff36 100644
--- a/pkgs/development/libraries/pangolin/default.nix
+++ b/pkgs/development/libraries/pangolin/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
     libtiff
     eigen
   ]
-  ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa ];
+  ++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ];
 
   # The tests use cmake's findPackage to find the installed version of
   # pangolin, which isn't what we want (or available).