about summary refs log tree commit diff
path: root/pkgs/applications/graphics/emulsion/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/emulsion/default.nix')
-rw-r--r--pkgs/applications/graphics/emulsion/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/emulsion/default.nix b/pkgs/applications/graphics/emulsion/default.nix
index a57a33e11b51..0db2a75721ec 100644
--- a/pkgs/applications/graphics/emulsion/default.nix
+++ b/pkgs/applications/graphics/emulsion/default.nix
@@ -30,7 +30,7 @@ let
     libXrandr
     libXxf86vm
     libxcb
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libxkbcommon
     wayland
   ];
@@ -55,7 +55,7 @@ rustPlatform.buildRustPackage rec {
     python3
   ];
 
-  buildInputs = rpathLibs ++ lib.optionals stdenv.isDarwin [
+  buildInputs = rpathLibs ++ lib.optionals stdenv.hostPlatform.isDarwin [
     AppKit
     CoreGraphics
     CoreServices
@@ -63,7 +63,7 @@ rustPlatform.buildRustPackage rec {
     OpenGL
   ];
 
-  postFixup = lib.optionalString stdenv.isLinux ''
+  postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
     patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/emulsion
   '';