Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 13 lines 471 B view raw
1diff --git a/src/nemo-python.c b/src/nemo-python.c 2index 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) 6 } 7 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; sys.path = [path for path in sys.path if path]; sys.path.append('@env@')"); 11 if (PyErr_Occurred()) 12 { 13 PyErr_Print();