pantheon.switchboard-plug-keyboard: fix build
This commit is contained in:
parent
21c127f7d0
commit
e55bd86e82
@ -1,6 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pantheon
|
, pantheon
|
||||||
|
, fetchpatch
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
@ -55,6 +56,11 @@ stdenv.mkDerivation rec {
|
|||||||
src = ./xkb.patch;
|
src = ./xkb.patch;
|
||||||
config = "${xorg.xkeyboardconfig}/share/X11/xkb/rules/evdev.xml";
|
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";
|
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user