about summary refs log tree commit diff
path: root/pkgs/development/misc/juce/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/misc/juce/default.nix')
-rw-r--r--pkgs/development/misc/juce/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/misc/juce/default.nix b/pkgs/development/misc/juce/default.nix
index 0899a948019e..f0c54f1dca20 100644
--- a/pkgs/development/misc/juce/default.nix
+++ b/pkgs/development/misc/juce/default.nix
@@ -48,11 +48,11 @@ stdenv.mkDerivation (finalAttrs: {
     curl # libcurl.so
     stdenv.cc.cc.lib # libstdc++.so libgcc_s.so
     pcre # libpcre2.pc
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     alsa-lib # libasound.so
     libglvnd # libGL.so
     webkitgtk # webkit2gtk-4.0
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Cocoa
     darwin.apple_sdk.frameworks.MetalKit
     darwin.apple_sdk.frameworks.WebKit