Skip to content

Commit 6874529

Browse files
authored
pantheon.appcenter: Do not use compressed appstream metadata (NixOS#399945)
2 parents b1ba006 + f497a0c commit 6874529

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkgs/desktops/pantheon/apps/appcenter/default.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ stdenv.mkDerivation rec {
6565
"-Dcurated=false"
6666
];
6767

68+
postPatch = ''
69+
# Since we do not build libxml2 with legacy support,
70+
# we cannot use compressed appstream metadata.
71+
# https://gitlab.gnome.org/GNOME/libxml2/-/commit/f7f14537727bf6845d0eea08cd1fdc30accc2a53
72+
substituteInPlace src/Core/FlatpakBackend.vala \
73+
--replace-fail ".xml.gz" ".xml"
74+
'';
75+
6876
passthru = {
6977
updateScript = nix-update-script { };
7078
};

0 commit comments

Comments
 (0)