diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-03-14 19:58:55 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-03-14 19:58:55 +0800 |
commit | 21eeb396dea9f77c9737e0347e8dda1bbc74c1b1 (patch) | |
tree | 74b7b03b796086b558a5c760407b9d94f2cdafa0 /pkgs/desktops/pantheon | |
parent | 2f1f631eaa1cc39ae889fffb3a7911a5de7b502c (diff) | |
download | nixpkgs-21eeb396dea9f77c9737e0347e8dda1bbc74c1b1.tar nixpkgs-21eeb396dea9f77c9737e0347e8dda1bbc74c1b1.tar.gz nixpkgs-21eeb396dea9f77c9737e0347e8dda1bbc74c1b1.tar.bz2 nixpkgs-21eeb396dea9f77c9737e0347e8dda1bbc74c1b1.tar.lz nixpkgs-21eeb396dea9f77c9737e0347e8dda1bbc74c1b1.tar.xz nixpkgs-21eeb396dea9f77c9737e0347e8dda1bbc74c1b1.tar.zst nixpkgs-21eeb396dea9f77c9737e0347e8dda1bbc74c1b1.zip |
pantheon.elementary-photos: fix build with vala 0.56
Diffstat (limited to 'pkgs/desktops/pantheon')
-rw-r--r-- | pkgs/desktops/pantheon/apps/elementary-photos/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix index 1ff9157b301..e5a8523014d 100644 --- a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix +++ b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , nix-update-script , meson , ninja @@ -41,6 +42,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-NhF/WgS6IOwgALSCNyFNxz8ROVTb+mUX+lBtnWEyhEI="; }; + patches = [ + # Fix build with vala 0.56 + # https://github.com/elementary/photos/pull/711 + (fetchpatch { + url = "https://github.com/elementary/photos/commit/6594f1323726fb0d38519a7bdafe16f9170353cb.patch"; + sha256 = "sha256-Ie9ULC8Xw4KLQJANPXh4LDywMjWfniPX/P76eHW8LHc="; + }) + ]; + nativeBuildInputs = [ appstream desktop-file-utils |