mlflow-server: apply patch from python3.pkgs.mflow

This commit is contained in:
Theodore Ni 2023-08-05 16:34:09 -07:00 committed by Yt
parent c318c25d22
commit d1bc24643d

View file

@ -11,7 +11,7 @@ py.toPythonApplication
py.mysqlclient
];
postPatch = ''
postPatch = (old.postPatch or "") + ''
substituteInPlace mlflow/utils/process.py --replace \
"child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True," \
"cmd[0]='$out/bin/gunicornMlflow'; child = subprocess.Popen(cmd, env=cmd_env, cwd=cwd, universal_newlines=True,"