Commit 2b4480d1 authored by Robert Schütz's avatar Robert Schütz
Browse files

immich-machine-learning: move from immich.machine-learning

A top-level attribute makes sure Hydra builds it (though that already
happens on Linux through the NixOS test) and that nixpkgs-review picks
it up.
parent 797b7e1c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
{
  lib,
  src,
  fetchFromGitHub,
  immich,
  python3,
@@ -31,7 +30,7 @@ in
python.pkgs.buildPythonApplication {
  pname = "immich-machine-learning";
  inherit (immich) version;
  src = "${src}/machine-learning";
  src = "${immich.src}/machine-learning";
  pyproject = true;

  postPatch = ''
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
  node-gyp,
  runCommand,
  nixosTests,
  callPackage,
  immich-machine-learning,
  # build-time deps
  glib,
  pkg-config,
@@ -210,7 +210,7 @@ buildNpmPackage' {
      inherit (nixosTests) immich;
    };

    machine-learning = callPackage ./machine-learning.nix { inherit src; };
    machine-learning = immich-machine-learning;

    inherit
      src