diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-12-07 15:43:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 15:43:02 +0800 |
commit | 011272cc6dbd27b3fe43d3d91acae8f072b8f854 (patch) | |
tree | 2c0e7fa0ea9951498f9fd49ce160ada07faf0599 /pkgs/desktops/pantheon | |
parent | 4ce1a2ab6fb9494914a2d696aa3a848027cd394d (diff) | |
parent | ff98aa0ef0a837b00b9c596774140aeb49366cf0 (diff) |
Merge pull request #272049 from bobby285271/upd/pantheon
pantheon.switchboard-plug-about: Backport AppStream 1.0 build fix
Diffstat (limited to 'pkgs/desktops/pantheon')
-rw-r--r-- | pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix index 3c9fc107a978..5aff02f08170 100644 --- a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix +++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , nix-update-script , meson , ninja @@ -29,6 +30,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-MJybc2yAchU6qMqkoRz45QdhR7bj/UFk2nyxcBivsHI="; }; + patches = [ + # Add support for AppStream 1.0 + # https://github.com/elementary/switchboard-plug-about/pull/275 + (fetchpatch { + url = "https://github.com/elementary/switchboard-plug-about/commit/72d7da13da2824812908276751fd3024db2dd0f8.patch"; + hash = "sha256-R7oW3mL77/JNqxuMiqxtdMlHWMJgGRQBBzVeRiqx8PY="; + }) + ]; + nativeBuildInputs = [ meson ninja |