pantheon.appcenter: Fix build
Use upstream patch. To make it apply, we need to update the src hash, which r-ryantm did not do during the version bump: https://github.com/NixOS/nixpkgs/pull/101311
This commit is contained in:
parent
804b04e1bc
commit
d4e741f6dc
@ -37,9 +37,18 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
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 = {
|
passthru = {
|
||||||
updateScript = nix-update-script {
|
updateScript = nix-update-script {
|
||||||
attrPath = "pantheon.${pname}";
|
attrPath = "pantheon.${pname}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user