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}"
|
--replace "/bin/bash" "${stdenv.shell}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# allow for gunicorn processes to have access to python packages
|
||||||
|
makeWrapperArgs = [ "--prefix PYTHONPATH : $PYTHONPATH" ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
export AIRFLOW_HOME=$HOME
|
export AIRFLOW_HOME=$HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user