diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-12-10 16:14:32 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-12-11 22:15:54 +0800 |
commit | fed0cb17edc000be88e2dce63b7aea8ba6ce2580 (patch) | |
tree | 2a308569241bb02346b9e8dfcf8217172b95d989 /pkgs/desktops/pantheon/apps | |
parent | 3a47ec54b8ec3785795c3c8d2e372df14b6652eb (diff) |
pantheon.elementary-feedback: Backport AppStream 1.0 build fix
Diffstat (limited to 'pkgs/desktops/pantheon/apps')
-rw-r--r-- | pkgs/desktops/pantheon/apps/elementary-feedback/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/elementary-feedback/default.nix b/pkgs/desktops/pantheon/apps/elementary-feedback/default.nix index d1ccd49f1a886..f796053cec928 100644 --- a/pkgs/desktops/pantheon/apps/elementary-feedback/default.nix +++ b/pkgs/desktops/pantheon/apps/elementary-feedback/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , nix-update-script , pkg-config , meson @@ -32,6 +33,13 @@ stdenv.mkDerivation rec { # https://github.com/ximion/appstream/blob/v0.15.2/src/as-pool.c#L117 # https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location ./fix-metadata-path.patch + + # Add support for AppStream 1.0. + # https://github.com/elementary/feedback/pull/102 + (fetchpatch { + url = "https://github.com/elementary/feedback/commit/037b20328f5200a0dac25e6835c0c3f8a7c36f39.patch"; + hash = "sha256-tjUNTCsEBjy/3lzwyIwR4VED57ATiG2CWCmRh7qps+4="; + }) ]; nativeBuildInputs = [ |