about summary refs log tree commit diff
path: root/pkgs/tools/wayland/wlrctl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/wayland/wlrctl/default.nix')
-rw-r--r--pkgs/tools/wayland/wlrctl/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/tools/wayland/wlrctl/default.nix b/pkgs/tools/wayland/wlrctl/default.nix
index 7cb54d381b0ba..4de7699b35f87 100644
--- a/pkgs/tools/wayland/wlrctl/default.nix
+++ b/pkgs/tools/wayland/wlrctl/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromSourcehut, meson, pkg-config, scdoc, ninja, libxkbcommon, wayland }:
+{ lib, stdenv, fetchFromSourcehut, meson, pkg-config, scdoc, ninja, libxkbcommon, wayland, wayland-scanner }:
 
 stdenv.mkDerivation rec {
   pname = "wlrctl";
@@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
     sha256 = "039cxc82k7x473n6d65jray90rj35qmfdmr390zy0c7ic7vn4b78";
   };
 
-  nativeBuildInputs = [ meson pkg-config scdoc ninja ];
+  strictDeps = true;
+  depsBuildBuild = [
+    pkg-config
+  ];
+  nativeBuildInputs = [ meson pkg-config scdoc ninja wayland-scanner ];
   buildInputs = [ libxkbcommon wayland ];
 
   NIX_CFLAGS_COMPILE = "-Wno-error=type-limits";