treewide: nixfmt
This commit is contained in:
parent
d653af66b3
commit
dbfc2207df
14 changed files with 688 additions and 564 deletions
|
|
@ -1,9 +1,10 @@
|
|||
{ authentik-src
|
||||
, authentikPoetryOverrides
|
||||
, defaultPoetryOverrides
|
||||
, lib
|
||||
, mkPoetryEnv
|
||||
, python312
|
||||
{
|
||||
authentik-src,
|
||||
authentikPoetryOverrides,
|
||||
defaultPoetryOverrides,
|
||||
lib,
|
||||
mkPoetryEnv,
|
||||
python312,
|
||||
}:
|
||||
|
||||
mkPoetryEnv {
|
||||
|
|
@ -12,13 +13,13 @@ mkPoetryEnv {
|
|||
overrides = [
|
||||
defaultPoetryOverrides
|
||||
] ++ authentikPoetryOverrides;
|
||||
groups = ["main"];
|
||||
checkGroups = [];
|
||||
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")
|
||||
pyproject = builtins.toFile "patched-pyproject.toml" (
|
||||
lib.replaceStrings [ "tool.poetry.dev-dependencies" ] [ "tool.poetry.group.dev.dependencies" ] (
|
||||
builtins.readFile "${authentik-src}/pyproject.toml"
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue