about summary refs log tree commit diff
path: root/pkgs/desktops/cinnamon/xreader/default.nix
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2023-08-05 18:53:45 +0800
committerBobby Rong <rjl931189261@126.com>2023-08-05 18:55:21 +0800
commitdfde395b2af558cdad66aaa4b8439e03026873be (patch)
tree7206f228f67c520785d234b973dfb7a3d01e6708 /pkgs/desktops/cinnamon/xreader/default.nix
parente01711b319d9dfa24a27b0afb77d432433e2c773 (diff)
downloadnixlib-dfde395b2af558cdad66aaa4b8439e03026873be.tar
nixlib-dfde395b2af558cdad66aaa4b8439e03026873be.tar.gz
nixlib-dfde395b2af558cdad66aaa4b8439e03026873be.tar.bz2
nixlib-dfde395b2af558cdad66aaa4b8439e03026873be.tar.lz
nixlib-dfde395b2af558cdad66aaa4b8439e03026873be.tar.xz
nixlib-dfde395b2af558cdad66aaa4b8439e03026873be.tar.zst
nixlib-dfde395b2af558cdad66aaa4b8439e03026873be.zip
cinnamon.xreader: Backport meson 1.2 fix
Because meson 1.2 is already in staging.
Diffstat (limited to 'pkgs/desktops/cinnamon/xreader/default.nix')
-rw-r--r--pkgs/desktops/cinnamon/xreader/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/cinnamon/xreader/default.nix b/pkgs/desktops/cinnamon/xreader/default.nix
index d6bf6c1faaae..1da859b3cd17 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