diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-02-25 19:42:27 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2022-03-01 10:10:48 +0800 |
commit | 1bff9045b40c729e8550866c304252c4cf4cd80e (patch) | |
tree | 5616d89e588782f1959377e5d575af66f8e138ae /pkgs/desktops/pantheon/apps/appcenter/default.nix | |
parent | 4ec18cd57e29e4e426875cb7e86591a0083faad7 (diff) | |
download | nixpkgs-1bff9045b40c729e8550866c304252c4cf4cd80e.tar nixpkgs-1bff9045b40c729e8550866c304252c4cf4cd80e.tar.gz nixpkgs-1bff9045b40c729e8550866c304252c4cf4cd80e.tar.bz2 nixpkgs-1bff9045b40c729e8550866c304252c4cf4cd80e.tar.lz nixpkgs-1bff9045b40c729e8550866c304252c4cf4cd80e.tar.xz nixpkgs-1bff9045b40c729e8550866c304252c4cf4cd80e.tar.zst nixpkgs-1bff9045b40c729e8550866c304252c4cf4cd80e.zip |
pantheon.appcenter: fix AppStream.PoolFlags being renamed
Diffstat (limited to 'pkgs/desktops/pantheon/apps/appcenter/default.nix')
-rw-r--r-- | pkgs/desktops/pantheon/apps/appcenter/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/appcenter/default.nix b/pkgs/desktops/pantheon/apps/appcenter/default.nix index d62141ece2b..93c10d07292 100644 --- a/pkgs/desktops/pantheon/apps/appcenter/default.nix +++ b/pkgs/desktops/pantheon/apps/appcenter/default.nix @@ -7,6 +7,7 @@ , desktop-file-utils , elementary-icon-theme , fetchFromGitHub +, fetchpatch , flatpak , gettext , glib @@ -38,6 +39,17 @@ stdenv.mkDerivation rec { sha256 = "sha256-xktIHQHmz5gh72NEz9UQ9fMvBlj1BihWxHgxsHmTIB0="; }; + patches = [ + # Fix AppStream.PoolFlags being renamed + # Though the API break has been fixed in latest appstream, + # let's use the non-deprecated version anyway. + # https://github.com/elementary/appcenter/pull/1794 + (fetchpatch { + url = "https://github.com/elementary/appcenter/commit/84bc6400713484aa9365f0ba73f59c495da3f08b.patch"; + sha256 = "sha256-HNRCJ/5mRbEVjCq9nrXtdQOOk1Jj5jalApkghD8ecpk="; + }) + ]; + nativeBuildInputs = [ appstream-glib dbus # for pkg-config |