From d7c6aaa12742fc4b7b7151885c24b96a90159baf Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 17 Jul 2024 10:58:35 +0200 Subject: [PATCH] wlr-randr: fix cross compilation Before, the build process wasn't able to find `pkg-config` to discover `wayland-scanner` in `$PATH`, which is a nativeBuildInput. --- pkgs/tools/wayland/wlr-randr/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/wayland/wlr-randr/default.nix b/pkgs/tools/wayland/wlr-randr/default.nix index 6d470aae1971f..6c284fdf2b15b 100644 --- a/pkgs/tools/wayland/wlr-randr/default.nix +++ b/pkgs/tools/wayland/wlr-randr/default.nix @@ -22,6 +22,9 @@ stdenv.mkDerivation rec { strictDeps = true; nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ]; buildInputs = [ wayland ]; + depsBuildBuild = [ + pkg-config + ]; meta = with lib; { description = "Xrandr clone for wlroots compositors";