mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +00:00
gtksourceview{4,5}: fix cross
5 depends on opencv for which cross doesn't work so i coudlnt test it
This commit is contained in:
parent
83f0198962
commit
62f9cc2bdc
@ -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;
|
||||
|
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user