about summary refs log tree commit diff
path: root/pkgs/development/tools/scenic-view/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/scenic-view/default.nix')
-rw-r--r--pkgs/development/tools/scenic-view/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/scenic-view/default.nix b/pkgs/development/tools/scenic-view/default.nix
index 3fc74d7e3c73..925fc8d5b29d 100644
--- a/pkgs/development/tools/scenic-view/default.nix
+++ b/pkgs/development/tools/scenic-view/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchFromGitHub, openjdk, openjfx, gradle_7, makeDesktopItem, makeWrapper }:
 let
-  jdk = openjdk.override (lib.optionalAttrs stdenv.isLinux {
+  jdk = openjdk.override (lib.optionalAttrs stdenv.hostPlatform.isLinux {
     enableJavaFX = true;
     openjfx = openjfx.override { withWebKit = true; };
   });
@@ -52,7 +52,7 @@ in stdenv.mkDerivation rec {
   desktopItems = [ desktopItem ];
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "JavaFx application to visualize and modify the scenegraph of running JavaFx applications";
     mainProgram = "scenic-view";
     longDescription = ''