waffle: depend on wayland-scanner
Otherwise, wayland-scanner would be picked up from the wayland in buildInputs, which isn't cross-friendly and will stop working when we split wayland-scanner into a separate package. Also, add pkg-config to depsBuildBuild to fix cross.
This commit is contained in:
parent
05f18e1209
commit
d474d6efe2
@ -11,7 +11,7 @@
|
||||
, pkg-config
|
||||
, python3
|
||||
, x11Support ? true, libxcb, libX11
|
||||
, waylandSupport ? true, wayland, wayland-protocols
|
||||
, waylandSupport ? true, wayland, wayland-protocols, wayland-scanner
|
||||
, useGbm ? true, mesa, udev
|
||||
}:
|
||||
|
||||
@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
|
||||
mesa
|
||||
];
|
||||
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -52,6 +54,8 @@ stdenv.mkDerivation rec {
|
||||
ninja
|
||||
pkg-config
|
||||
python3
|
||||
] ++ lib.optionals waylandSupport [
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
PKG_CONFIG_BASH_COMPLETION_COMPLETIONSDIR= "${placeholder "out"}/share/bash-completion/completions";
|
||||
|
Loading…
Reference in New Issue
Block a user