mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
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.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{
|
||||
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 = ''
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user