about summary refs log tree commit diff
path: root/pkgs/applications/misc/gnome-solanum
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-04-05 12:24:31 +0800
committerBobby Rong <rjl931189261@126.com>2022-04-05 12:29:16 +0800
commite133ae2ecc4fa598cefd72f9d67d1a6a61b317a3 (patch)
tree0e8d01935ff1c2248eca40759f94d50f897a8ad5 /pkgs/applications/misc/gnome-solanum
parentc167b827b5dabe47f8469603e13c74b693255212 (diff)
gnome-solanum: fix build with meson 0.61
Diffstat (limited to 'pkgs/applications/misc/gnome-solanum')
-rw-r--r--pkgs/applications/misc/gnome-solanum/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/misc/gnome-solanum/default.nix b/pkgs/applications/misc/gnome-solanum/default.nix
index 8ad1267afa932..e7d2489bdb540 100644
--- a/pkgs/applications/misc/gnome-solanum/default.nix
+++ b/pkgs/applications/misc/gnome-solanum/default.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitLab
+, fetchpatch
 , rustPlatform
 , desktop-file-utils
 , meson
@@ -27,6 +28,15 @@ stdenv.mkDerivation rec {
     sha256 = "0cga6cz6jfbipzp008rjznkz7844licdc34lk133fcyqil0cg0ap";
   };
 
+  patches = [
+    # Fix build with meson 0.61, can be removed on next update
+    # https://gitlab.gnome.org/World/Solanum/-/merge_requests/49
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/World/Solanum/-/commit/e5c5d88f95b0fe4145c9ed346b8ca98a613d7cfe.patch";
+      sha256 = "j84P9KzMr0o38u4OD4ZPst+yqw1LCRoa1awT3nelFDI=";
+    })
+  ];
+
   cargoDeps = rustPlatform.fetchCargoTarball {
     inherit src;
     name = "${pname}-${version}";