pantheon.switchboard-plug-keyboard: fix build

This commit is contained in:
worldofpeace 2019-10-10 10:37:51 -04:00
parent 21c127f7d0
commit e55bd86e82

View file

@ -1,6 +1,7 @@
{ stdenv
, fetchFromGitHub
, pantheon
, fetchpatch
, substituteAll
, meson
, ninja
@ -55,6 +56,11 @@ stdenv.mkDerivation rec {
src = ./xkb.patch;
config = "${xorg.xkeyboardconfig}/share/X11/xkb/rules/evdev.xml";
})
# Fix build with latest vala.
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-keyboard/commit/28fa960f607f0b1d67f2864965a079bdfc23e3a8.patch";
sha256 = "0121qcg8n7gkz7gpwrxc1cx0nnypj02zy2jmp3cks5r9sc0yi0hw";
})
];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";