about summary refs log tree commit diff
path: root/pkgs/desktops/gnome/core/gnome-screenshot
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/gnome/core/gnome-screenshot')
-rw-r--r--pkgs/desktops/gnome/core/gnome-screenshot/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/core/gnome-screenshot/default.nix b/pkgs/desktops/gnome/core/gnome-screenshot/default.nix
index a2c8f75271775..3904f1443f7d5 100644
--- a/pkgs/desktops/gnome/core/gnome-screenshot/default.nix
+++ b/pkgs/desktops/gnome/core/gnome-screenshot/default.nix
@@ -4,6 +4,7 @@
 , libxml2
 , libhandy
 , fetchurl
+, fetchpatch
 , pkg-config
 , libcanberra-gtk3
 , gtk3
@@ -27,6 +28,15 @@ stdenv.mkDerivation rec {
     sha256 = "Stt97JJkKPdCY9V5ZnPPFC5HILbnaPVGio0JM/mMlZc=";
   };
 
+  patches = [
+    # Fix build with meson 0.61
+    # https://gitlab.gnome.org/GNOME/gnome-screenshot/-/issues/186
+    (fetchpatch {
+      url = "https://gitlab.gnome.org/GNOME/gnome-screenshot/-/commit/b60dad3c2536c17bd201f74ad8e40eb74385ed9f.patch";
+      sha256 = "Js83h/3xxcw2hsgjzGa5lAYFXVrt6MPhXOTh5dZTx/w=";
+    })
+  ];
+
   nativeBuildInputs = [
     meson
     ninja