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
|
||||
, authentik-version
|
||||
, authentikComponents
|
||||
, buildGo123Module
|
||||
, lib
|
||||
, makeWrapper
|
||||
{
|
||||
authentik-src,
|
||||
authentik-version,
|
||||
authentikComponents,
|
||||
buildGo123Module,
|
||||
lib,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
buildGo123Module {
|
||||
|
|
@ -16,15 +17,15 @@ buildGo123Module {
|
|||
'';
|
||||
src = lib.cleanSourceWith {
|
||||
src = authentik-src;
|
||||
filter = (path: _:
|
||||
filter = (
|
||||
path: _:
|
||||
(builtins.any (x: x) (
|
||||
(map (infix: lib.hasInfix infix path) [
|
||||
"/authentik"
|
||||
"/cmd"
|
||||
"/internal"
|
||||
])
|
||||
++
|
||||
(map (suffix: lib.hasSuffix suffix path) [
|
||||
++ (map (suffix: lib.hasSuffix suffix path) [
|
||||
"/web"
|
||||
"/web/static.go"
|
||||
"/web/robots.txt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue