chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ne / nemo-python / python-path.patch
blob62a6a7043076cfde6d2cdf4dbc0c01e60eb7eed1
1 diff --git a/src/nemo-python.c b/src/nemo-python.c
2 index 8d2acdb..ee24143 100644
3 --- a/src/nemo-python.c
4 +++ b/src/nemo-python.c
5 @@ -197,7 +197,7 @@ nemo_python_init_python (void)
8 debug("Sanitize the python search path");
9 - PyRun_SimpleString("import sys; sys.path = [path for path in sys.path if path]");
10 + PyRun_SimpleString("import sys; import os; sys.path = [path for path in sys.path if path]; sys.path += os.getenv(\"NEMO_PYTHON_SEARCH_PATH\").split(os.pathsep)");
11 if (PyErr_Occurred())
13 PyErr_Print();