pantheon.switchboard-plug-sharing: fix build

This commit is contained in:
worldofpeace 2019-10-10 10:49:20 -04:00
parent 8b957f8359
commit b9b1d9b620

View File

@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, pantheon
, meson
, ninja
@ -42,6 +43,14 @@ stdenv.mkDerivation rec {
switchboard
];
patches = [
# Fix build with latest vala
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-sharing/commit/22c9d52577a2e8c36c840a99009420266a39e1fe.patch";
sha256 = "0rbf1yxhc7k44cwikd45mv2g6slzw0rkwn5s38q3yxai9jnpvqch";
})
];
PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {