-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
default.nix
48 lines (47 loc) · 1.15 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ authentik-src
, authentik-version
, authentikPoetryOverrides
, buildNapalmPackage
, defaultPoetryOverrides
, mkPoetryEnv
, pkgs
}:
pkgs.lib.makeScope pkgs.newScope (final:
let
docs = final.callPackage ./docs.nix {
inherit authentik-src authentik-version buildNapalmPackage;
};
frontend = final.callPackage ./frontend.nix {
inherit authentik-src authentik-version buildNapalmPackage;
};
pythonEnv = final.callPackage ./pythonEnv.nix {
inherit authentik-src mkPoetryEnv defaultPoetryOverrides authentikPoetryOverrides;
};
# server + outposts
gopkgs = final.callPackage ./gopkgs.nix {
inherit authentik-src authentik-version;
};
staticWorkdirDeps = final.callPackage ./staticWorkdirDeps.nix {
inherit authentik-src;
};
migrate = final.callPackage ./migrate.nix {
inherit authentik-src;
};
# worker
manage = final.callPackage ./manage.nix {
};
in
{
authentikComponents = {
inherit
docs
frontend
pythonEnv
gopkgs
staticWorkdirDeps
migrate
manage;
};
inherit authentik-src authentik-version;
}
)