rofi: fix cross compilation

This commit is contained in:
Nick Cao 2022-01-27 10:52:39 +08:00 committed by Bjørn Forsman
parent 972c309de3
commit 0c8d2aa94d

View file

@ -19,6 +19,8 @@
, flex
, librsvg
, check
, glib
, buildPackages
}:
stdenv.mkDerivation rec {
@ -39,14 +41,13 @@ stdenv.mkDerivation rec {
sed -i 's/~root/~nobody/g' test/helper-expand.c
'';
nativeBuildInputs = [ meson ninja pkg-config ];
depsBuildBuild = [ buildPackages.stdenv.cc pkg-config glib ];
nativeBuildInputs = [ meson ninja pkg-config flex bison ];
buildInputs = [
libxkbcommon
pango
cairo
git
bison
flex
librsvg
check
libstartup_notification