about summary refs log tree commit diff
path: root/pkgs/applications/graphics/curv/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/curv/default.nix')
-rw-r--r--pkgs/applications/graphics/curv/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/curv/default.nix b/pkgs/applications/graphics/curv/default.nix
index 7113437245a3..f1f66784aa51 100644
--- a/pkgs/applications/graphics/curv/default.nix
+++ b/pkgs/applications/graphics/curv/default.nix
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
     xorg.libXi
     xorg.libXinerama
     xorg.libXrandr
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     ilmbase
     llvmPackages.openmp
   ];
@@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
     homepage = "https://github.com/curv3d/curv";
     license = licenses.asl20;
     platforms = platforms.all;
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     maintainers = with maintainers; [ pbsds ];
     mainProgram = "curv";
   };