diff --git a/pkgs/schlock/default.nix b/pkgs/schlock/default.nix
index bf6ea44..adc0539 100644
--- a/pkgs/schlock/default.nix
+++ b/pkgs/schlock/default.nix
@@ -10,6 +10,7 @@
 , libsodium
 , libxkbcommon
 , wayland
+, wayland-scanner
 , wayland-protocols
 }:
 
@@ -29,7 +30,7 @@ stdenv.mkDerivation {
     ninja
     pkg-config
     scdoc
-    wayland
+    wayland-scanner
   ];
 
   buildInputs = [