Commit 7c659746 authored by Robert Schütz's avatar Robert Schütz
Browse files

immich.machine-learning: drop packageOverrides argument

There is no need for it and it cannot be used to override the machine
learning component used by the immich package.
parent 56204911
Loading
Loading
Loading
Loading
+17 −22
Original line number Diff line number Diff line
@@ -4,13 +4,12 @@
  fetchFromGitHub,
  immich,
  python3,
  # Override Python packages using
  # self: super: { pkg = super.pkg.overridePythonAttrs (oldAttrs: { ... }); }
  # Applied after defaultOverrides
  packageOverrides ? self: super: { },
}:
let
  defaultOverrides = self: super: {
  python = python3.override {
    self = python;

    packageOverrides = self: super: {
      pydantic = super.pydantic_1;

      versioningit = super.versioningit.overridePythonAttrs (_: {
@@ -27,10 +26,6 @@ let
        };
      });
    };

  python = python3.override {
    self = python;
    packageOverrides = lib.composeExtensions defaultOverrides packageOverrides;
  };
in
python.pkgs.buildPythonApplication {