Skip to content

Instantly share code, notes, and snippets.

@RaitoBezarius
Created December 31, 2024 22:55
… while calling the 'map' builtin
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:597:12:
596| (n: concatLists)
597| (map
| ^
598| (module:
… in the condition of the assert statement
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:574:9:
573| checkedConfigs =
574| assert
| ^
575| all
… while calling the 'all' builtin
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:575:11:
574| assert
575| all
| ^
576| (c:
… while calling the 'concatMap' builtin
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:547:8:
546| mergeModules' prefix modules
547| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
548|
… while calling anonymous lambda
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:547:19:
546| mergeModules' prefix modules
547| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
548|
… while calling the 'map' builtin
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:547:22:
546| mergeModules' prefix modules
547| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
548|
… from call site
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:547:73:
546| mergeModules' prefix modules
547| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
| ^
548|
… while calling 'pushDownProperties'
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:913:24:
912| */
913| pushDownProperties = cfg:
| ^
914| if cfg._type or "" == "merge" then
… while calling the 'concatMap' builtin
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:915:7:
914| if cfg._type or "" == "merge" then
915| concatMap pushDownProperties cfg.contents
| ^
916| else if cfg._type or "" == "if" then
… while calling 'pushDownProperties'
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:913:24:
912| */
913| pushDownProperties = cfg:
| ^
914| if cfg._type or "" == "merge" then
… while calling the 'concatMap' builtin
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:915:7:
914| if cfg._type or "" == "merge" then
915| concatMap pushDownProperties cfg.contents
| ^
916| else if cfg._type or "" == "if" then
… while evaluating the attribute 'contents'
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:1048:15:
1047| { _type = "merge";
1048| inherit contents;
| ^
1049| };
… while calling the 'attrValues' builtin
at /nix/store/2dzkc2rl9iqcv900bl2rmrbywicgjgvs-source/terraform/vault/sub-ca.nix:141:7:
140| mkMerge (
141| builtins.attrValues (mapAttrs (name: config:
| ^
142| let
… while calling the 'mapAttrs' builtin
at /nix/store/2dzkc2rl9iqcv900bl2rmrbywicgjgvs-source/terraform/vault/sub-ca.nix:141:28:
140| mkMerge (
141| builtins.attrValues (mapAttrs (name: config:
| ^
142| let
… while calling the 'mapAttrs' builtin
at /nix/store/2dzkc2rl9iqcv900bl2rmrbywicgjgvs-source/terraform/vault/sub-ca.nix:132:25:
131| let
132| immediateChildren = mapAttrs (name: _:
| ^
133| addErrorContext "while evaluating sub-CA configuration `${name}` in `${start.name}`:"
… while evaluating an expression to select 'subCA' on it
at /nix/store/2dzkc2rl9iqcv900bl2rmrbywicgjgvs-source/terraform/vault/sub-ca.nix:135:7:
134| (start.subCA.${name} or { })
135| ) start.subCA;
| ^
136| pkiConfig = config.infra.pki;
… while evaluating an expression to select 'infra.pki.ica2' on it
at /nix/store/2dzkc2rl9iqcv900bl2rmrbywicgjgvs-source/terraform/vault/sub-ca.nix:159:18:
158| in
159| mkMerge [ (bfs config.infra.pki.ica2) ]
| ^
160|
… from call site
at /nix/store/2dzkc2rl9iqcv900bl2rmrbywicgjgvs-source/terraform/vault/sub-ca.nix:159:18:
158| in
159| mkMerge [ (bfs config.infra.pki.ica2) ]
| ^
160|
… while calling anonymous lambda
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:513:35:
512| context = name: ''while evaluating the module argument `${name}' in "${key}":'';
513| extraArgs = mapAttrs (name: _:
| ^
514| addErrorContext (context name)
… while calling the 'addErrorContext' builtin
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:514:9:
513| extraArgs = mapAttrs (name: _:
514| addErrorContext (context name)
| ^
515| (args.${name} or config._module.args.${name})
… while evaluating the module argument `config' in "/nix/store/2dzkc2rl9iqcv900bl2rmrbywicgjgvs-source/terraform/vault/sub-ca.nix":
… while evaluating the attribute 'config'
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:245:34:
244| (regularModules ++ [ internalModule ])
245| ({ inherit lib options config specialArgs; } // specialArgs);
| ^
246| in mergeModules prefix (reverseList collected);
error: infinite recursion encountered
at /nix/store/rhn4fkh7hqjlqs9j6naaq623qpl62yz0-source/lib/modules.nix:245:34:
244| (regularModules ++ [ internalModule ])
245| ({ inherit lib options config specialArgs; } // specialArgs);
| ^
246| in mergeModules prefix (reverseList collected);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment