python.pkgs.objgraph: hardcode path to graphviz's bin/
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPyPy
|
||||
, substituteAll
|
||||
, graphvizPkg
|
||||
, graphviz
|
||||
, mock
|
||||
}:
|
||||
@@ -18,6 +20,13 @@ buildPythonPackage rec {
|
||||
# Tests fail with PyPy.
|
||||
disabled = isPyPy;
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./hardcode-graphviz-path.patch;
|
||||
graphviz = graphvizPkg;
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ graphviz ];
|
||||
|
||||
checkInputs = [ mock ];
|
||||
|
||||
Reference in New Issue
Block a user