Skip to content

Commit

Permalink
pantheon.appcenter: Fix build
Browse files Browse the repository at this point in the history
Use upstream patch.

To make it apply, we need to update the src hash, which r-ryantm did not do during the version bump: #101311
  • Loading branch information
jtojnar committed Apr 29, 2021
1 parent 36f4c0b commit 148d981
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/desktops/pantheon/apps/appcenter/default.nix
Expand Up @@ -37,9 +37,18 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-8r0DlmG8xlCQ1uFHZQjXG2ls4VBrsRzrVY8Ey3/OYAU=";
sha256 = "MsaXdmL+M+NYAJrrwluleeNxqQg0soFbO/G/FqibBFI=";
};

patches = [
# Allow build with appstream 0.14.x
# https://github.com/elementary/appcenter/pull/1493
(fetchpatch {
url = "https://github.com/elementary/appcenter/commit/5807dd13fe3c715f26225aed8d7a0abdea0c2a64.patch";
sha256 = "BvEahG9lU9ZdgooFDFhm5evRvnKVcmcHLdmZPb85gbo=";
})
];

passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
Expand Down

0 comments on commit 148d981

Please sign in to comment.