Merge pull request #298908 from bobby285271/upd/gedit
gedit: Patch cairo usages in snippets plugin
This commit is contained in:
commit
b00f845bb0
|
@ -4,6 +4,7 @@
|
||||||
, mesonEmulatorHook
|
, mesonEmulatorHook
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, python3
|
, python3
|
||||||
|
, python3Packages
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, gtk3
|
, gtk3
|
||||||
, gtk-mac-integration
|
, gtk-mac-integration
|
||||||
|
@ -53,6 +54,7 @@ stdenv.mkDerivation rec {
|
||||||
perl
|
perl
|
||||||
pkg-config
|
pkg-config
|
||||||
python3
|
python3
|
||||||
|
python3Packages.wrapPython
|
||||||
vala
|
vala
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
gtk-doc
|
gtk-doc
|
||||||
|
@ -85,6 +87,16 @@ stdenv.mkDerivation rec {
|
||||||
# Reliably fails to generate gedit-file-browser-enum-types.h in time
|
# Reliably fails to generate gedit-file-browser-enum-types.h in time
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
|
pythonPath = with python3Packages; [
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/298716
|
||||||
|
pycairo
|
||||||
|
];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
buildPythonPath "$pythonPath"
|
||||||
|
patchPythonScript $out/lib/gedit/plugins/snippets/document.py
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript {
|
updateScript = gnome.updateScript {
|
||||||
packageName = "gedit";
|
packageName = "gedit";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user