pantheon.elementary-photos: Fix build with latest Vala

This commit is contained in:
Jan Tojnar 2021-04-28 06:00:38 +02:00
parent 7676f941a5
commit 67924b3f45
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
@ -45,6 +46,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-bTk4shryAWWMrKX3mza6xQ05qpBPf80Ey7fmYgKLUiY=";
};
patches = [
# Fix build with latest Vala.
(fetchpatch {
url = "https://github.com/elementary/photos/commit/27e529fc96da828982563e2e19a6f0cef883a29e.patch";
sha256 = "w39wh45VHggCs62TN6wpUEyz/hJ1y7qL1Ox+sp0Pt2s=";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";