wmctrl: support cross-compilation

Add dependencies on correct place for cross-compiling.
Fix issue where 'glib.h' cannot be found when cross-compiling.
This commit is contained in:
Rick van Schijndel 2021-07-14 23:10:58 +02:00
parent 1eb893a860
commit 65394f22e2

View file

@ -17,7 +17,9 @@ stdenv.mkDerivation rec {
sha256 = "1afclc57b9017a73mfs9w7lbdvdipmf9q0xdk116f61gnvyix2np";
};
nativeBuildInputs = [ pkg-config ];
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ glib.dev ];
buildInputs = [ libX11 libXmu glib ];
patches = [ ./64-bit-data.patch ];