about summary refs log tree commit diff
path: root/pkgs/tools/wayland/wob/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/wayland/wob/default.nix')
-rw-r--r--pkgs/tools/wayland/wob/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/wayland/wob/default.nix b/pkgs/tools/wayland/wob/default.nix
index d57755244a10..e670c5fce4de 100644
--- a/pkgs/tools/wayland/wob/default.nix
+++ b/pkgs/tools/wayland/wob/default.nix
@@ -30,9 +30,9 @@ stdenv.mkDerivation rec {
   ];
   nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
   buildInputs = [ cmocka inih wayland wayland-protocols ]
-    ++ lib.optional stdenv.isLinux libseccomp;
+    ++ lib.optional stdenv.hostPlatform.isLinux libseccomp;
 
-  mesonFlags = lib.optional stdenv.isLinux "-Dseccomp=enabled";
+  mesonFlags = lib.optional stdenv.hostPlatform.isLinux "-Dseccomp=enabled";
 
   meta = with lib; {
     inherit (src.meta) homepage;