about summary refs log tree commit diff
path: root/pkgs/applications/graphics/weylus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/weylus/default.nix')
-rw-r--r--pkgs/applications/graphics/weylus/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/weylus/default.nix b/pkgs/applications/graphics/weylus/default.nix
index 36647a62aef2..61b40006b386 100644
--- a/pkgs/applications/graphics/weylus/default.nix
+++ b/pkgs/applications/graphics/weylus/default.nix
@@ -38,12 +38,12 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     ffmpeg
     x264
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     ApplicationServices
     Carbon
     Cocoa
     VideoToolbox
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     dbus
     libva
     gst_all_1.gst-plugins-base
@@ -67,7 +67,7 @@ rustPlatform.buildRustPackage rec {
     git
     typescript
     makeWrapper
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     pkg-config
     autoconf
     libtool
@@ -88,7 +88,7 @@ rustPlatform.buildRustPackage rec {
       gst_all_1.gst-plugins-base
       pipewire
     ];
-  in lib.optionalString stdenv.isLinux ''
+  in lib.optionalString stdenv.hostPlatform.isLinux ''
     wrapProgram $out/bin/weylus --prefix GST_PLUGIN_PATH : ${GST_PLUGIN_PATH}
   '';
 
@@ -97,7 +97,7 @@ rustPlatform.buildRustPackage rec {
   '';
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Use your tablet as graphic tablet/touch screen on your computer";
     mainProgram = "weylus";
     homepage = "https://github.com/H-M-H/Weylus";