about summary refs log tree commit diff
path: root/pkgs/by-name/op/openscad-unstable/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/op/openscad-unstable/package.nix')
-rw-r--r--pkgs/by-name/op/openscad-unstable/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/op/openscad-unstable/package.nix b/pkgs/by-name/op/openscad-unstable/package.nix
index eb1dd005af46..8a96876d65dd 100644
--- a/pkgs/by-name/op/openscad-unstable/package.nix
+++ b/pkgs/by-name/op/openscad-unstable/package.nix
@@ -92,7 +92,7 @@ clangStdenv.mkDerivation rec {
     qtbase
     qtmultimedia
   ]
-  ++ lib.optionals clangStdenv.isLinux [
+  ++ lib.optionals clangStdenv.hostPlatform.isLinux [
     xorg.libXdmcp
     libICE
     libSM
@@ -101,7 +101,7 @@ clangStdenv.mkDerivation rec {
     qtwayland
     libGLU
   ]
-  ++ lib.optional clangStdenv.isDarwin qtmacextras
+  ++ lib.optional clangStdenv.hostPlatform.isDarwin qtmacextras
   ;
   cmakeFlags = [
     "-DEXPERIMENTAL=ON" # enable experimental options