Skip to content

Commit

Permalink
wlr-randr: fix cross compilation
Browse files Browse the repository at this point in the history
Before, the build process wasn't able to find `pkg-config` to discover
`wayland-scanner` in `$PATH`, which is a nativeBuildInput.
  • Loading branch information
flokli committed Jul 17, 2024
1 parent f322e8f commit d7c6aaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/wayland/wlr-randr/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit d7c6aaa

Please sign in to comment.