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:
parent
43cea7b6e4
commit
71c30320f9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue