pantheon.switchboard-plug-security-privacy: Fix build with latest Vala

This commit is contained in:
Jan Tojnar 2021-04-28 05:32:19 +02:00
parent 7a0b4f123d
commit 7676f941a5
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pantheon
, meson
@ -28,6 +29,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Sws6FqUL7QAROInDrcqYAp6j1TCC4aGV0/hi5Kmm5wQ=";
};
patches = [
# Fix build with latest Vala.
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-security-privacy/commit/c8e422e630bbee0badcf4df26364c9e83e06bad0.patch";
sha256 = "5Gm+muZiCraJC5JaGVVo0HDJ7KxjOpclHRW1RKsk3bc=";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";