xdot: needs graphviz in PATH

This commit is contained in:
Sebastian Ullrich 2021-12-04 17:03:10 +01:00
parent d6a4500f88
commit 80f8607721
2 changed files with 7 additions and 1 deletions

View file

@ -15,6 +15,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ gobject-introspection pygobject3 graphviz gtk3 numpy ];
checkInputs = [ xvfb-run ];
postInstall = ''
wrapProgram "$out/bin/xdot" --prefix PATH : "${lib.makeBinPath [ graphviz ]}"
'';
checkPhase = ''
xvfb-run -s '-screen 0 800x600x24' ${python3.interpreter} nix_run_setup test
'';

View file

@ -10141,7 +10141,9 @@ in {
xdis = callPackage ../development/python-modules/xdis { };
xdot = callPackage ../development/python-modules/xdot { };
xdot = callPackage ../development/python-modules/xdot {
inherit (pkgs) graphviz;
};
xenomapper = callPackage ../applications/science/biology/xenomapper { };