about summary refs log tree commit diff
path: root/pkgs/applications/graphics/menyoki/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/menyoki/default.nix')
-rw-r--r--pkgs/applications/graphics/menyoki/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/menyoki/default.nix b/pkgs/applications/graphics/menyoki/default.nix
index 8d965fe7b129..e8ae4e7f2555 100644
--- a/pkgs/applications/graphics/menyoki/default.nix
+++ b/pkgs/applications/graphics/menyoki/default.nix
@@ -25,11 +25,11 @@ rustPlatform.buildRustPackage rec {
   cargoHash = "sha256-NtXjlGkX8AzSw98xHPymzdnTipMIunyDbpSr4eVowa0=";
 
   nativeBuildInputs = [ installShellFiles ]
-    ++ lib.optional stdenv.isLinux pkg-config;
+    ++ lib.optional stdenv.hostPlatform.isLinux pkg-config;
 
   buildInputs = lib.optional withSixel libsixel
-    ++ lib.optionals stdenv.isLinux (with xorg; [ libX11 libXrandr ])
-    ++ lib.optional stdenv.isDarwin AppKit;
+    ++ lib.optionals stdenv.hostPlatform.isLinux (with xorg; [ libX11 libXrandr ])
+    ++ lib.optional stdenv.hostPlatform.isDarwin AppKit;
 
   buildNoDefaultFeatures = !withSki;
   buildFeatures = lib.optional withSixel "sixel";