diff options
author | Rick van Schijndel <rol3517@gmail.com> | 2021-07-14 23:10:58 +0200 |
---|---|---|
committer | Rick van Schijndel <rol3517@gmail.com> | 2021-07-14 23:16:17 +0200 |
commit | 65394f22e2e1dac3f80bb7042185faaded5aa05c (patch) | |
tree | c322da2ca8f9d1a4d7945ad31f57a59b190d8fd9 | |
parent | 1eb893a8602651af8279341b659e643957b3ab59 (diff) |
wmctrl: support cross-compilation
Add dependencies on correct place for cross-compiling. Fix issue where 'glib.h' cannot be found when cross-compiling.
-rw-r--r-- | pkgs/tools/X11/wmctrl/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/X11/wmctrl/default.nix b/pkgs/tools/X11/wmctrl/default.nix index 0a01a3dad5a4c..19a464aff72af 100644 --- a/pkgs/tools/X11/wmctrl/default.nix +++ b/pkgs/tools/X11/wmctrl/default.nix @@ -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 ]; |