mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 11:27:45 +00:00
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:
parent
1eb893a860
commit
65394f22e2
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user