Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a' (2024-09-12)
→ 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
• Updated input 'flake-parts/nixpkgs-lib':
'https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz?narHash=sha256-Ss8QWLXdr2JCBPcYChJhz4xJm%2Bh/xjl4G0c0XlP6a74%3D' (2024-09-01)
→ 'https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz?narHash=sha256-0xHYkMkeLVQAMa7gvkddbPqpxph%2BhDzdu1XdGPJR%2BOs%3D' (2024-10-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
→ 'github:NixOS/nixpkgs/807e9154dcb16384b1b765ebe9cd2bba2ac287fd' (2024-10-29)
• Updated input 'poetry2nix':
'github:nix-community/poetry2nix/7624b3e0275d9b52dbdda46ef7ffee66b36ff823' (2024-09-24)
→ 'github:nix-community/poetry2nix/43a898b4d76f7f3f70df77a2cc2d40096bc9d75e' (2024-10-30)
• Updated input 'poetry2nix/nix-github-actions':
'github:nix-community/nix-github-actions/5163432afc817cf8bd1f031418d1869e4c9d5547' (2023-12-29)
→ 'github:nix-community/nix-github-actions/e04df33f62cdcf93d73e9a04142464753a16db67' (2024-10-24)
• Updated input 'poetry2nix/treefmt-nix':
'github:numtide/treefmt-nix/8df5ff62195d4e67e2264df0b7f5e8c9995fd0bd' (2024-06-30)
→ 'github:numtide/treefmt-nix/9ef337e492a5555d8e17a51c911ff1f02635be15' (2024-10-28)
24 lines
635 B
Nix
24 lines
635 B
Nix
{ authentik-src
|
|
, authentikPoetryOverrides
|
|
, defaultPoetryOverrides
|
|
, lib
|
|
, mkPoetryEnv
|
|
, python312
|
|
}:
|
|
|
|
mkPoetryEnv {
|
|
projectDir = authentik-src;
|
|
python = python312;
|
|
overrides = [
|
|
defaultPoetryOverrides
|
|
] ++ authentikPoetryOverrides;
|
|
groups = ["main"];
|
|
checkGroups = [];
|
|
# workaround to remove dev-dependencies for the current combination of legacy
|
|
# used by authentik and poetry2nix's behavior
|
|
pyproject = builtins.toFile "patched-pyproject.toml" (lib.replaceStrings
|
|
["tool.poetry.dev-dependencies"]
|
|
["tool.poetry.group.dev.dependencies"]
|
|
(builtins.readFile "${authentik-src}/pyproject.toml")
|
|
);
|
|
}
|