diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-08-05 20:00:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 20:00:16 +0800 |
commit | 0d98427489fd368378069a56a094c452d9ad8b7f (patch) | |
tree | 2edaca6ce5c3adb7b247e0c1e502da2972cd375d | |
parent | 3c76f4df724151e1251c86185f96e666da979b46 (diff) | |
parent | dfde395b2af558cdad66aaa4b8439e03026873be (diff) |
Merge pull request #247322 from bobby285271/upd/cinnamon
cinnamon.xreader: Backport meson 1.2 fix
-rw-r--r-- | pkgs/desktops/cinnamon/xreader/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/xreader/default.nix b/pkgs/desktops/cinnamon/xreader/default.nix index d6bf6c1faaaeb..1da859b3cd170 100644 --- a/pkgs/desktops/cinnamon/xreader/default.nix +++ b/pkgs/desktops/cinnamon/xreader/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, fetchpatch , glib , gobject-introspection , intltool @@ -35,6 +36,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-2zqlfoN4L+V237cQ3PVh49YaZfNKGiLqh2JIiGJE340="; }; + patches = [ + # Fix build with meson 1.2, can be dropped on next bump + # https://github.com/linuxmint/xreader/issues/612 + (fetchpatch { + url = "https://github.com/linuxmint/xreader/commit/06b18a884c8cf3257ea1f053a82784da078999ed.patch"; + sha256 = "sha256-+LXEW3OkfhkIcbxtvfQYjdaC18O8imOx22t91ad/XZw="; + }) + ]; + nativeBuildInputs = [ shared-mime-info wrapGAppsHook |