summary refs log tree commit diff
path: root/pkgs/development/libraries/gtksourceview
diff options
context:
space:
mode:
authorArtturi <Artturin@artturin.com>2022-11-11 03:19:25 +0200
committerGitHub <noreply@github.com>2022-11-11 03:19:25 +0200
commit17fbc9a3c96ebc388be735ea61a1e6298af9e17f (patch)
tree84d4b87e66579b073ec6c1d1fe0569f15109dbc1 /pkgs/development/libraries/gtksourceview
parentfcc8eb092150596d204459a2e6c855a8559b8a9b (diff)
parent5f09efa7306838562a05d4fba883cd7f58030746 (diff)
downloadnixpkgs-17fbc9a3c96ebc388be735ea61a1e6298af9e17f.tar
nixpkgs-17fbc9a3c96ebc388be735ea61a1e6298af9e17f.tar.gz
nixpkgs-17fbc9a3c96ebc388be735ea61a1e6298af9e17f.tar.bz2
nixpkgs-17fbc9a3c96ebc388be735ea61a1e6298af9e17f.tar.lz
nixpkgs-17fbc9a3c96ebc388be735ea61a1e6298af9e17f.tar.xz
nixpkgs-17fbc9a3c96ebc388be735ea61a1e6298af9e17f.tar.zst
nixpkgs-17fbc9a3c96ebc388be735ea61a1e6298af9e17f.zip
Merge pull request #200337 from Artturin/crossfixes4
gobject-introspection: use wrapper.nix for the native package too
Diffstat (limited to 'pkgs/development/libraries/gtksourceview')
-rw-r--r--pkgs/development/libraries/gtksourceview/4.x.nix7
-rw-r--r--pkgs/development/libraries/gtksourceview/5.x.nix7
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gtksourceview/4.x.nix b/pkgs/development/libraries/gtksourceview/4.x.nix
index 315547ad386..f3414c39270 100644
--- a/pkgs/development/libraries/gtksourceview/4.x.nix
+++ b/pkgs/development/libraries/gtksourceview/4.x.nix
@@ -70,6 +70,13 @@ stdenv.mkDerivation rec {
     dbus
   ];
 
+  postPatch = ''
+    # https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/295
+    # build: drop unnecessary vapigen check
+    substituteInPlace meson.build \
+      --replace "if generate_vapi" "if false"
+  '';
+
   # Broken by PCRE 2 bump in GLib.
   # https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/283
   doCheck = false;
diff --git a/pkgs/development/libraries/gtksourceview/5.x.nix b/pkgs/development/libraries/gtksourceview/5.x.nix
index 25bd8127a54..d3b1cc42a12 100644
--- a/pkgs/development/libraries/gtksourceview/5.x.nix
+++ b/pkgs/development/libraries/gtksourceview/5.x.nix
@@ -74,6 +74,13 @@ stdenv.mkDerivation rec {
     "-Dgtk_doc=true"
   ];
 
+  postPatch = ''
+    # https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/295
+    # build: drop unnecessary vapigen check
+    substituteInPlace meson.build \
+      --replace "if generate_vapi" "if false"
+  '';
+
   doCheck = stdenv.isLinux;
 
   checkPhase = ''