You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: executing 'git': No such file or directory
error:
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1570:24:
1569| let f = attrPath:
1570| zipAttrsWith (n: values:
| ^
1571| let here = attrPath ++ [n]; in
… while calling the 'head' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1574:11:
1573| || pred here (elemAt values 1) (head values) then
1574| head values
| ^
1575| else
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1204:18:
1203| mapAttrs
1204| (name: value:
| ^
1205| if isAttrs value && cond value
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1207:18:
1206| then recurse (path ++ [ name ]) value
1207| else f (path ++ [ name ]) value);
| ^
1208| in
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the attribute 'value'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:816:9:
815| in warnDeprecation opt //
816| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
817| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating the attribute 'mergedValue'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:851:5:
850| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
851| mergedValue =
| ^
852| if isDefined then
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:852:7:
851| mergedValue =
852| if isDefined then
| ^
853| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
… while evaluating the attribute 'values'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:845:9:
844| in {
845| values = defs''';
| ^
846| inherit (defs'') highestPrio;
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:841:11:
840| # Avoid sorting if we don't have to.
841| if any (def: def.value._type or "" == "order") defs''.values
| ^
842| then sortProperties defs''.values
… while calling the 'any' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:841:14:
840| # Avoid sorting if we don't have to.
841| if any (def: def.value._type or "" == "order") defs''.values
| ^
842| then sortProperties defs''.values
… while evaluating the attribute 'values'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:944:7:
943| in {
944| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
945| inherit highestPrio;
… while calling the 'concatMap' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:944:16:
943| in {
944| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
945| inherit highestPrio;
… while calling the 'concatMap' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:831:17:
830| # Process mkMerge and mkIf properties.
831| defs' = concatMap (m:
| ^
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:831:28:
830| # Process mkMerge and mkIf properties.
831| defs' = concatMap (m:
| ^
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling the 'map' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:832:11:
831| defs' = concatMap (m:
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
833| ) defs;
… while evaluating definitions from `/nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/activation/top-level.nix':
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:832:128:
831| defs' = concatMap (m:
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
833| ) defs;
… while calling 'dischargeProperties'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:903:25:
902| */
903| dischargeProperties = def:
| ^
904| if def._type or "" == "merge" then
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:904:5:
903| dischargeProperties = def:
904| if def._type or "" == "merge" then
| ^
905| concatMap dischargeProperties def.contents
… while evaluating the attribute 'value'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:614:53:
613| (n: value:
614| [{ inherit (module) file; inherit value; }]
| ^
615| )
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/activation/top-level.nix:74:10:
73| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
74| else showWarnings config.warnings baseSystem;
| ^
75|
… while calling 'showWarnings'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/trivial.nix:972:28:
971|
972| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
| ^
973|
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/trivial.nix:972:33:
971|
972| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
| ^
973|
… while calling 'foldr'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/lists.nix:121:20:
120| */
121| foldr = op: nul: list:
| ^
122| let
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/lists.nix:128:8:
127| else op (elemAt list n) (fold' (n + 1));
128| in fold' 0;
| ^
129|
… while calling 'fold''
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/lists.nix:124:15:
123| len = length list;
124| fold' = n:
| ^
125| if n == len
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/lists.nix:125:9:
124| fold' = n:
125| if n == len
| ^
126| then nul
… while calling the 'length' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/lists.nix:123:13:
122| let
123| len = length list;
| ^
124| fold' = n:
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/activation/top-level.nix:74:23:
73| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
74| else showWarnings config.warnings baseSystem;
| ^
75|
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1204:18:
1203| mapAttrs
1204| (name: value:
| ^
1205| if isAttrs value && cond value
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1207:18:
1206| then recurse (path ++ [ name ]) value
1207| else f (path ++ [ name ]) value);
| ^
1208| in
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the attribute 'value'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:816:9:
815| in warnDeprecation opt //
816| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
817| inherit (res.defsFinal') highestPrio;
… while evaluating the option `warnings':
(10 duplicate frames omitted)
… while evaluating definitions from `/nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/boot/systemd.nix':
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:832:128:
831| defs' = concatMap (m:
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
833| ) defs;
… while calling 'dischargeProperties'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:903:25:
902| */
903| dischargeProperties = def:
| ^
904| if def._type or "" == "merge" then
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:904:5:
903| dischargeProperties = def:
904| if def._type or "" == "merge" then
| ^
905| concatMap dischargeProperties def.contents
… while evaluating the attribute 'value'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:614:53:
613| (n: value:
614| [{ inherit (module) file; inherit value; }]
| ^
615| )
… while calling the 'concatLists' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/boot/systemd.nix:448:8:
447| mkMountNetOnlineWarns = typeStr: defs: lib.concatLists (map (m: mkOneNetOnlineWarn typeStr m.what m) defs);
448| in concatLists (
| ^
449| mapAttrsToList
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1095:10:
1094| attrs:
1095| map (name: f name attrs.${name}) (attrNames attrs);
| ^
1096|
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1095:16:
1094| attrs:
1095| map (name: f name attrs.${name}) (attrNames attrs);
| ^
1096|
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/boot/systemd.nix:450:16:
449| mapAttrsToList
450| (name: service:
| ^
451| let
… while calling the 'concatLists' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/boot/systemd.nix:456:13:
455| in
456| concatLists [
| ^
457| (optional (type == "oneshot" && (restart == "always" || restart == "on-success"))
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/boot/systemd.nix:457:16:
456| concatLists [
457| (optional (type == "oneshot" && (restart == "always" || restart == "on-success"))
| ^
458| "Service '${name}.service' with 'Type=oneshot' cannot have 'Restart=always' or 'Restart=on-success'"
… while calling 'optional'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/lists.nix:784:20:
783| */
784| optional = cond: elem: if cond then [elem] else [];
| ^
785|
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/lists.nix:784:26:
783| */
784| optional = cond: elem: if cond then [elem] else [];
| ^
785|
… in the left operand of the AND (&&) operator
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/boot/systemd.nix:457:44:
456| concatLists [
457| (optional (type == "oneshot" && (restart == "always" || restart == "on-success"))
| ^
458| "Service '${name}.service' with 'Type=oneshot' cannot have 'Restart=always' or 'Restart=on-success'"
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/nixos/modules/system/boot/systemd.nix:452:20:
451| let
452| type = service.serviceConfig.Type or "";
| ^
453| restart = service.serviceConfig.Restart or "no";
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1204:18:
1203| mapAttrs
1204| (name: value:
| ^
1205| if isAttrs value && cond value
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:1207:18:
1206| then recurse (path ++ [ name ]) value
1207| else f (path ++ [ name ]) value);
| ^
1208| in
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:254:72:
253| # For definitions that have an associated option
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
255|
… while evaluating the attribute 'value'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:816:9:
815| in warnDeprecation opt //
816| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
817| inherit (res.defsFinal') highestPrio;
… while evaluating the option `systemd.services.authentik.serviceConfig':
… while evaluating the attribute 'mergedValue'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:851:5:
850| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
851| mergedValue =
| ^
852| if isDefined then
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:853:59:
852| if isDefined then
853| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
854| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling 'merge'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/types.nix:576:20:
575| check = isAttrs;
576| merge = loc: defs:
| ^
577| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
… while calling the 'mapAttrs' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/types.nix:577:9:
576| merge = loc: defs:
577| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
578| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/types.nix:577:35:
576| merge = loc: defs:
577| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
578| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… while calling 'filterAttrs'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:646:5:
645| pred:
646| set:
| ^
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
… while calling the 'removeAttrs' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:647:5:
646| set:
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
| ^
648|
… while calling the 'filter' builtin
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:647:22:
646| set:
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
| ^
648|
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:647:30:
646| set:
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
| ^
648|
… in the argument of the not operator
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:647:38:
646| set:
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
| ^
648|
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:647:38:
646| set:
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
| ^
648|
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/types.nix:577:51:
576| merge = loc: defs:
577| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
578| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/attrsets.nix:647:48:
646| set:
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
| ^
648|
… while calling anonymous lambda
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/types.nix:577:86:
576| merge = loc: defs:
577| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
578| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… while evaluating the attribute 'optionalValue'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:863:5:
862|
863| optionalValue =
| ^
864| if isDefined then { value = mergedValue; }
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:864:7:
863| optionalValue =
864| if isDefined then { value = mergedValue; }
| ^
865| else {};
(8 duplicate frames omitted)
… while evaluating definitions from `/nix/store/ydg4lj8sbxyjzl6ls9x9w7niz8a1hsd5-source/module.nix':
… from call site
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:832:128:
831| defs' = concatMap (m:
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
833| ) defs;
… while calling 'dischargeProperties'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:903:25:
902| */
903| dischargeProperties = def:
| ^
904| if def._type or "" == "merge" then
… while evaluating a branch condition
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/modules.nix:904:5:
903| dischargeProperties = def:
904| if def._type or "" == "merge" then
| ^
905| concatMap dischargeProperties def.contents
… while evaluating the attribute 'value'
at /nix/store/smgkshm3r00a4rl7gw5ymgfqsd2k573l-source/lib/types.nix:581:60:
580| # Push down position info.
581| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs)));
| ^
582| emptyValue = { value = {}; };
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:44:19:
43| value = commonAttrs // {
44| outPath = builtins.getAttr outputName strict;
| ^
45| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
… while evaluating derivation 'authentik-gopkgs-2024.10.5'
whose name attribute is located at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:375:7
… while evaluating attribute 'postInstall' of derivation 'authentik-gopkgs-2024.10.5'
at /nix/store/ydg4lj8sbxyjzl6ls9x9w7niz8a1hsd5-source/components/gopkgs.nix:47:3:
46| doCheck = false;
47| postInstall = ''
| ^
48| wrapProgram $out/bin/server --prefix PATH : ${authentikComponents.pythonEnv}/bin
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:44:19:
43| value = commonAttrs // {
44| outPath = builtins.getAttr outputName strict;
| ^
45| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
… while evaluating derivation 'python3-3.12.8-env'
whose name attribute is located at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:375:7
… while evaluating attribute 'passAsFile' of derivation 'python3-3.12.8-env'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/trivial-builders/default.nix:60:9:
59| inherit buildCommand name;
60| passAsFile = [ "buildCommand" ]
| ^
61| ++ (derivationArgs.passAsFile or [ ]);
… while evaluating the attribute 'passAsFile'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/buildenv/default.nix:114:9:
113| # XXX: The size is somewhat arbitrary
114| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
| ^
115| }
… while evaluating a branch condition
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/buildenv/default.nix:114:22:
113| # XXX: The size is somewhat arbitrary
114| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
| ^
115| }
… in the argument of the not operator
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/buildenv/default.nix:114:52:
113| # XXX: The size is somewhat arbitrary
114| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
| ^
115| }
… while calling the 'lessThan' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/buildenv/default.nix:114:52:
113| # XXX: The size is somewhat arbitrary
114| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
| ^
115| }
… while calling the 'stringLength' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/buildenv/default.nix:114:25:
113| # XXX: The size is somewhat arbitrary
114| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
| ^
115| }
… while calling the 'toJSON' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/buildenv/default.nix:109:16:
108| ;
109| pkgs = builtins.toJSON chosenOutputs;
| ^
110| extraPathsFrom = lib.optional includeClosures (writeClosure pathsForClosure);
… while calling the 'map' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/build-support/buildenv/default.nix:68:21:
67| let
68| chosenOutputs = map (drv: {
| ^
69| paths =
… from call site
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/wrapper.nix:20:13:
19| env = let
20| paths = requiredPythonModules (extraLibs ++ [ python ] ) ;
| ^
21| pythonPath = "${placeholder "out"}/${python.sitePackages}";
… while calling 'requiredPythonModules'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/python-packages-base.nix:65:5:
64| requiredPythonModules =
65| drvs:
| ^
66| let
… while calling the 'foldl'' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/python-packages-base.nix:69:5:
68| in
69| lib.unique (
| ^
70| [ python ] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules)
… while calling the 'filter' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/python-packages-base.nix:67:17:
66| let
67| modules = lib.filter hasPythonModule drvs;
| ^
68| in
… from call site
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/with-packages.nix:5:14:
4| let
5| packages = f pythonPackages;
| ^
6| in
… while calling anonymous lambda
at /nix/store/356w7b32dn18mcdc44b1dpgdpvp9dys3-source/default.nix:359:39:
358| in
359| poetryPython.python.withPackages (ps: envPkgs ++ (extraPackages ps));
| ^
360|
… while calling the 'filter' builtin
at /nix/store/356w7b32dn18mcdc44b1dpgdpvp9dys3-source/default.nix:356:17:
355| editableAttrs = lib.attrNames editablePackageSources';
356| envPkgs = builtins.filter (drv: ! lib.elem (drv.pname or drv.name or "") editableAttrs) poetryPackages;
| ^
357|
… while evaluating the attribute 'poetryPackages'
at /nix/store/356w7b32dn18mcdc44b1dpgdpvp9dys3-source/default.nix:291:7:
290| python = py;
291| poetryPackages = storePackages
| ^
292| ++ lib.optional hasScripts scriptsPackage
… from call site
at /nix/store/356w7b32dn18mcdc44b1dpgdpvp9dys3-source/default.nix:287:23:
286| */
287| storePackages = requiredPythonModules (builtins.foldl' (acc: v: acc ++ v) [ ] (lib.attrValues inputAttrs));
| ^
288| in
… while calling 'requiredPythonModules'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/python-packages-base.nix:65:5:
64| requiredPythonModules =
65| drvs:
| ^
66| let
… while calling the 'foldl'' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/python-packages-base.nix:69:5:
68| in
69| lib.unique (
| ^
70| [ python ] ++ modules ++ lib.concatLists (lib.catAttrs "requiredPythonModules" modules)
… while calling anonymous lambda
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:1793:25:
1792| */
1793| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) [];
| ^
1794|
… while evaluating a branch condition
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:1793:28:
1792| */
1793| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) [];
| ^
1794|
… while calling the 'elem' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:1793:31:
1792| */
1793| unique = foldl' (acc: e: if elem e acc then acc else acc ++ [ e ]) [];
| ^
1794|
… while evaluating the attribute 'outPath'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/customisation.nix:419:7:
418| drv.drvPath;
419| outPath =
| ^
420| assert condition;
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:44:19:
43| value = commonAttrs // {
44| outPath = builtins.getAttr outputName strict;
| ^
45| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:34:12:
33|
34| strict = derivationStrict drvAttrs;
| ^
35|
… while evaluating derivation 'python3.12-django-tenants-3.6.1'
whose name attribute is located at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:375:7
… while evaluating attribute 'nativeBuildInputs' of derivation 'python3.12-django-tenants-3.6.1'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:419:7:
418| depsBuildBuild = elemAt (elemAt dependencies 0) 0;
419| nativeBuildInputs = elemAt (elemAt dependencies 0) 1;
| ^
420| depsBuildTarget = elemAt (elemAt dependencies 0) 2;
… while calling the 'elemAt' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:419:37:
418| depsBuildBuild = elemAt (elemAt dependencies 0) 0;
419| nativeBuildInputs = elemAt (elemAt dependencies 0) 1;
| ^
420| depsBuildTarget = elemAt (elemAt dependencies 0) 2;
… while calling the 'map' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:346:8:
345| (map (drv: getDev drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuild" depsBuildBuild))
346| (map (drv: getDev drv.__spliced.buildHost or drv) (checkDependencyList "nativeBuildInputs" nativeBuildInputs'))
| ^
347| (map (drv: getDev drv.__spliced.buildTarget or drv) (checkDependencyList "depsBuildTarget" depsBuildTarget))
… from call site
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:346:58:
345| (map (drv: getDev drv.__spliced.buildBuild or drv) (checkDependencyList "depsBuildBuild" depsBuildBuild))
346| (map (drv: getDev drv.__spliced.buildHost or drv) (checkDependencyList "nativeBuildInputs" nativeBuildInputs'))
| ^
347| (map (drv: getDev drv.__spliced.buildTarget or drv) (checkDependencyList "depsBuildTarget" depsBuildTarget))
… while calling 'checkDependencyList''
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:318:43:
317| checkDependencyList = checkDependencyList' [];
318| checkDependencyList' = positions: name: deps:
| ^
319| imap1
… from call site
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/stdenv/generic/make-derivation.nix:319:5:
318| checkDependencyList' = positions: name: deps:
319| imap1
| ^
320| (index: dep:
… while calling 'imap1'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:334:14:
333| */
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
335|
… while calling the 'genList' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:334:20:
333| */
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
335|
… while evaluating the second argument passed to builtins.genList
… while calling the 'length' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:334:60:
333| */
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
335|
… while evaluating the attribute 'nativeBuildInputs'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/mk-python-derivation.nix:282:9:
281|
282| nativeBuildInputs =
| ^
283| [
… from call site
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/mk-python-derivation.nix:306:14:
305| ]
306| ++ optionals (hasSuffix "zip" (attrs.src.name or "")) [
| ^
307| unzip
… while calling 'optionals'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:820:5:
819| cond:
820| elems: if cond then elems else [];
| ^
821|
… while evaluating a branch condition
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/lists.nix:820:12:
819| cond:
820| elems: if cond then elems else [];
| ^
821|
… from call site
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/pkgs/development/interpreters/python/mk-python-derivation.nix:306:25:
305| ]
306| ++ optionals (hasSuffix "zip" (attrs.src.name or "")) [
| ^
307| unzip
… while calling 'hasSuffix'
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/strings.nix:796:5:
795| suffix:
796| content:
| ^
797| let
… from call site
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/strings.nix:803:5:
802| # to strings and comparing. This was surprising and confusing.
803| warnIf
| ^
804| (isPath suffix)
… while calling anonymous lambda
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/trivial.nix:832:50:
831| */
832| warnIf = cond: msg: if cond then warn msg else x: x;
| ^
833|
… in the left operand of the AND (&&) operator
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/strings.nix:812:9:
811| lenContent >= lenSuffix
812| && substring (lenContent - lenSuffix) lenContent content == suffix
| ^
813| );
… in the argument of the not operator
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/strings.nix:811:20:
810| (
811| lenContent >= lenSuffix
| ^
812| && substring (lenContent - lenSuffix) lenContent content == suffix
… while calling the 'lessThan' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/strings.nix:811:20:
810| (
811| lenContent >= lenSuffix
| ^
812| && substring (lenContent - lenSuffix) lenContent content == suffix
… while calling the 'stringLength' builtin
at /nix/store/8vz84mqgnm1gz5yk7hgnnb5gir5hjxas-source/lib/strings.nix:798:20:
797| let
798| lenContent = stringLength content;
| ^
799| lenSuffix = stringLength suffix;
… while evaluating the attribute 'src.name'
at /nix/store/356w7b32dn18mcdc44b1dpgdpvp9dys3-source/mk-poetry-dep.nix:191:7:
190| # Here we can then choose a file based on that info.
191| src =
| ^
192| let
… while calling the 'fetchGit' builtin
at /nix/store/356w7b32dn18mcdc44b1dpgdpvp9dys3-source/mk-poetry-dep.nix:196:17:
195| (
196| builtins.fetchGit ({
| ^
197| inherit (source) url;
… while fetching the input 'git+https://github.com/rissson/django-tenants.git?ref=authentik-fixes&rev=a7f37c53f62f355a00142473ff1e3451bb794eca&submodules=1'
error: Cannot find Git revision 'a7f37c53f62f355a00142473ff1e3451bb794eca' in ref 'authentik-fixes' of repository 'https://github.com/rissson/django-tenants.git'! Please make sure that the rev exists on the ref you've specified or add allRefs = true; to fetchGit.
</p>
</details>
The text was updated successfully, but these errors were encountered:
epireyn
changed the title
Authentik throws error when enabling service (nix system cannot build)
Authentik throws error when enabling service (nixos system cannot build)
Dec 31, 2024
It seems to have solved the issue. Maybe add git as a requirement in the README?
Unfortunately, this is followed by another error: error: opening directory '"/nix/store/jz8bsr97y997xl0iq38r6cx9z7f61cpx-rollup-plugin-modify-3.0.0.tgz"': Too many open files
How can this happen considering the system limit is 9223372036854775807?
Version of NixPkgs = 24.11
Import
Service configuration
Stack trace
The text was updated successfully, but these errors were encountered: