Commit 8e03a09b authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

mlflow-server: format

parent 87fa3c4e
Loading
Loading
Loading
Loading
+14 −11
Original line number Diff line number Diff line
@@ -12,15 +12,17 @@ let
        sys.exit(run())
  '';
in
py.toPythonApplication
  (py.mlflow.overridePythonAttrs(old: {
py.toPythonApplication (
  py.mlflow.overridePythonAttrs (old: {

    propagatedBuildInputs = old.dependencies ++ [
      py.boto3
      py.mysqlclient
    ];

    postPatch = (old.postPatch or "") + ''
    postPatch =
      (old.postPatch or "")
      + ''
        cat mlflow/utils/process.py

        substituteInPlace mlflow/utils/process.py --replace-fail \
@@ -33,4 +35,5 @@ py.toPythonApplication
      cp ${gunicornScript} $gpath
      chmod 555 $gpath
    '';
}))
  })
)