Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pydot / hardcode-graphviz-path.patch
blobe862f1e7c2c350fb4c0412e3b7a82c92d68dc4b4
1 diff --git a/pydot.py b/pydot.py
2 index 3c7da4d..582c5bc 100644
3 --- a/pydot.py
4 +++ b/pydot.py
5 @@ -124,7 +124,7 @@ def call_graphviz(program, arguments, working_dir, **kwargs):
6 'LD_LIBRARY_PATH': os.environ.get('LD_LIBRARY_PATH', ''),
9 - program_with_args = [program, ] + arguments
10 + program_with_args = ['@graphviz@/bin/' + program, ] + arguments
12 process = subprocess.Popen(
13 program_with_args,