apache-airflow: Export PYTHONPATH in wrapper for gunicorn processes
This commit is contained in:
parent
fe5479f301
commit
e240c5d881
@ -167,6 +167,9 @@ buildPythonPackage rec {
|
||||
--replace "/bin/bash" "${stdenv.shell}"
|
||||
'';
|
||||
|
||||
# allow for gunicorn processes to have access to python packages
|
||||
makeWrapperArgs = [ "--prefix PYTHONPATH : $PYTHONPATH" ];
|
||||
|
||||
checkPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
export AIRFLOW_HOME=$HOME
|
||||
|
Loading…
Reference in New Issue
Block a user