apache-airflow: Export PYTHONPATH in wrapper for gunicorn processes

This commit is contained in:
Jonathan Ringer 2020-05-11 13:15:27 -07:00 committed by Jon
parent fe5479f301
commit e240c5d881

View File

@ -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