diff options
Diffstat (limited to 'pkgs/development/python-modules/pydot/hardcode-graphviz-path.patch')
-rw-r--r-- | pkgs/development/python-modules/pydot/hardcode-graphviz-path.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pydot/hardcode-graphviz-path.patch b/pkgs/development/python-modules/pydot/hardcode-graphviz-path.patch new file mode 100644 index 000000000000..e862f1e7c2c3 --- /dev/null +++ b/pkgs/development/python-modules/pydot/hardcode-graphviz-path.patch @@ -0,0 +1,13 @@ +diff --git a/pydot.py b/pydot.py +index 3c7da4d..582c5bc 100644 +--- a/pydot.py ++++ b/pydot.py +@@ -124,7 +124,7 @@ def call_graphviz(program, arguments, working_dir, **kwargs): + 'LD_LIBRARY_PATH': os.environ.get('LD_LIBRARY_PATH', ''), + } + +- program_with_args = [program, ] + arguments ++ program_with_args = ['@graphviz@/bin/' + program, ] + arguments + + process = subprocess.Popen( + program_with_args, |