glimpse: add graphviz as runtime dependency

Fixes https://github.com/NixOS/nixpkgs/issues/132405

See also:
https://gitlab.gnome.org/GNOME/gegl/-/issues/279
f83fd22c4b

(cherry picked from commit 8d67153deb7d3a9d45f4735b1ca276de3a9499d6)
This commit is contained in:
Kerstin Humm 2021-08-04 15:03:40 +02:00 committed by erictapen
parent 43cea7b6e4
commit 71c30320f9
1 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@
, makeWrapper
, autoreconfHook
, gtk-doc
, graphviz
}:
let
python = python2.withPackages (pp: [ pp.pygtk ]);
@ -154,7 +155,8 @@ stdenv.mkDerivation rec {
postFixup = ''
wrapProgram $out/bin/glimpse-${lib.versions.majorMinor version} \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix PATH ":" ${ lib.makeBinPath [ graphviz ] }
'';
passthru = rec {