diff options
author | Colin <colin@uninsane.org> | 2023-07-28 10:53:28 +0000 |
---|---|---|
committer | Colin <colin@uninsane.org> | 2023-08-04 07:10:24 +0000 |
commit | 65b8c4518a5896e15bc6fce58b6046661b3038cc (patch) | |
tree | 5129471f4d840ee7198953ef70933e4d61755d45 /pkgs/applications/accessibility/wvkbd | |
parent | 754d28198c39ee95d207afc89001b9cfdeb85d8d (diff) |
wvkbd: support cross compilation
Diffstat (limited to 'pkgs/applications/accessibility/wvkbd')
-rw-r--r-- | pkgs/applications/accessibility/wvkbd/default.nix | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/pkgs/applications/accessibility/wvkbd/default.nix b/pkgs/applications/accessibility/wvkbd/default.nix index ade7971a844a5..8c9ad47726e92 100644 --- a/pkgs/applications/accessibility/wvkbd/default.nix +++ b/pkgs/applications/accessibility/wvkbd/default.nix @@ -22,8 +22,23 @@ stdenv.mkDerivation rec { sha256 = "sha256-5m4aeuCqSJNgerQKyP9M6Qf7P4ijCtCY4Efew6E09Bc="; }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ wayland-scanner wayland pango glib harfbuzz cairo libxkbcommon ]; + postPatch = '' + substituteInPlace Makefile \ + --replace "pkg-config" "$PKG_CONFIG" + ''; + + nativeBuildInputs = [ + pkg-config + wayland-scanner + ]; + buildInputs = [ + cairo + glib + harfbuzz + libxkbcommon + pango + wayland + ]; installFlags = [ "PREFIX=$(out)" ]; meta = with lib; { |