# Pastebin l3jeRHzn nixos-rebuild --flake ./source#atala-testnet-client-t3a-medium boot building the system configuration... error: --- Error --- nix error: --- SerialisationError --- nix-daemon non-zero padding ---- show-trace ---- trace: while evaluating anonymous lambdaction at: (10:13) from string 9| builtins.mapAttrs 10| (key: node: | ^ 11| let trace: from call site trace: while evaluating the attribute 'ops-lib' trace: while evaluating anonymous lambdaction at: (23:25) from string 22| inputs = builtins.mapAttrs 23| (inputName: inputSpec: allNodes.${resolveInput inputSpec}) | ^ 24| (node.inputs or {}); trace: from call site trace: while evaluating the attribute 'ops-lib' trace: while evaluating the attribute 'ssh-keys.devOps' at: (115:8) in file: /nix/store/fa5jsqmqr7m8d7xwjz6f033k9lyb34dp-source/overlay.nix 114| inherit (keys) allKeysFrom devOps; 115| in { devOps = allKeysFrom devOps; }; | ^ 116| } trace: while evaluating the attribute 'value' at: (281:44) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 280| defnsByName' = byName "config" (module: value: 281| [{ inherit (module) file; inherit value; }] | ^ 282| ) configs; trace: while evaluating 'dischargeProperties' at: (467:25) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 466| */ 467| dischargeProperties = def: | ^ 468| if def._type or "" == "merge" then trace: from call site at: (396:137) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 395| defs' = concatMap (m: 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 397| ) defs; trace: while evaluating definitions from `/nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/config/users-groups.nix': trace: while evaluating anonymous lambdaction at: (395:28) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: from call site at: (395:17) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: while evaluating the attribute 'values' at: (508:7) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 507| in { 508| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | ^ 509| inherit highestPrio; trace: while evaluating the attribute 'values' at: (409:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 408| in { 409| values = defs'''; | ^ 410| inherit (defs'') highestPrio; trace: while evaluating the attribute 'mergedValue' at: (415:5) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 414| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 415| mergedValue = | ^ 416| if isDefined then trace: while evaluating the option `users.users.root.openssh.authorizedKeys.keys': trace: while evaluating the attribute 'value' at: (383:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 382| in opt // 383| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 384| inherit (res.defsFinal') highestPrio; trace: while evaluating anonymous lambdaction at: (84:45) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 83| yieldConfig = prefix: set: 84| let res = removeAttrs (mapAttrs (n: v: | ^ 85| if isOption v then v.value trace: from call site trace: while evaluating the attribute 'openssh.authorizedKeys.keys' trace: while evaluating anonymous lambdaction at: (69:73) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/services/networking/ssh/sshd.nix 68| }; 69| usersWithKeys = attrValues (flip filterAttrs config.users.users (n: u: | ^ 70| length u.openssh.authorizedKeys.keys != 0 || length u.openssh.authorizedKeys.keyFiles != 0 trace: from call site at: (125:62) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/attrsets.nix 124| filterAttrs = pred: set: 125| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 126| trace: while evaluating anonymous lambdaction at: (125:29) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/attrsets.nix 124| filterAttrs = pred: set: 125| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 126| trace: from call site at: (125:18) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/attrsets.nix 124| filterAttrs = pred: set: 125| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); | ^ 126| trace: while evaluating 'filterAttrs' at: (124:23) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/attrsets.nix 123| */ 124| filterAttrs = pred: set: | ^ 125| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set)); trace: from call site at: (138:19) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/trivial.nix 137| */ 138| flip = f: a: b: f b a; | ^ 139| trace: while evaluating 'flip' at: (138:16) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/trivial.nix 137| */ 138| flip = f: a: b: f b a; | ^ 139| trace: from call site at: (69:33) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/services/networking/ssh/sshd.nix 68| }; 69| usersWithKeys = attrValues (flip filterAttrs config.users.users (n: u: | ^ 70| length u.openssh.authorizedKeys.keys != 0 || length u.openssh.authorizedKeys.keyFiles != 0 trace: while evaluating the attribute 'content' at: (552:14) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 551| { _type = "if"; 552| inherit condition content; | ^ 553| }; trace: while evaluating 'dischargeProperties' at: (467:25) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 466| */ 467| dischargeProperties = def: | ^ 468| if def._type or "" == "merge" then trace: from call site at: (473:11) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 472| if def.condition then 473| dischargeProperties def.content | ^ 474| else trace: while evaluating 'dischargeProperties' at: (467:25) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 466| */ 467| dischargeProperties = def: | ^ 468| if def._type or "" == "merge" then trace: from call site at: (396:137) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 395| defs' = concatMap (m: 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 397| ) defs; trace: while evaluating definitions from `/nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/services/networking/ssh/sshd.nix': trace: while evaluating anonymous lambdaction at: (395:28) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: from call site at: (395:17) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: while evaluating the attribute 'values' at: (508:7) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 507| in { 508| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | ^ 509| inherit highestPrio; trace: while evaluating the attribute 'values' at: (409:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 408| in { 409| values = defs'''; | ^ 410| inherit (defs'') highestPrio; trace: while evaluating the attribute 'mergedValue' at: (415:5) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 414| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 415| mergedValue = | ^ 416| if isDefined then trace: while evaluating the option `environment.etc': trace: while evaluating the attribute 'value' at: (383:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 382| in opt // 383| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 384| inherit (res.defsFinal') highestPrio; trace: while evaluating anonymous lambdaction at: (84:45) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 83| yieldConfig = prefix: set: 84| let res = removeAttrs (mapAttrs (n: v: | ^ 85| if isOption v then v.value trace: from call site trace: while evaluating the attribute 'environment.etc' trace: while evaluating the attribute 'value' at: (281:44) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 280| defnsByName' = byName "config" (module: value: 281| [{ inherit (module) file; inherit value; }] | ^ 282| ) configs; trace: while evaluating 'dischargeProperties' at: (467:25) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 466| */ 467| dischargeProperties = def: | ^ 468| if def._type or "" == "merge" then trace: from call site at: (396:137) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 395| defs' = concatMap (m: 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 397| ) defs; trace: while evaluating definitions from `/nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/config/resolvconf.nix': trace: while evaluating anonymous lambdaction at: (395:28) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: from call site at: (395:17) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: while evaluating the attribute 'values' at: (508:7) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 507| in { 508| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | ^ 509| inherit highestPrio; trace: while evaluating the attribute 'values' at: (409:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 408| in { 409| values = defs'''; | ^ 410| inherit (defs'') highestPrio; trace: while evaluating the attribute 'mergedValue' at: (415:5) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 414| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 415| mergedValue = | ^ 416| if isDefined then trace: while evaluating the option `networking.resolvconf.enable': trace: while evaluating the attribute 'value' at: (383:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 382| in opt // 383| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 384| inherit (res.defsFinal') highestPrio; trace: while evaluating anonymous lambdaction at: (84:45) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 83| yieldConfig = prefix: set: 84| let res = removeAttrs (mapAttrs (n: v: | ^ 85| if isOption v then v.value trace: from call site trace: while evaluating the attribute 'enable' trace: while evaluating the attribute 'condition' at: (552:14) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 551| { _type = "if"; 552| inherit condition content; | ^ 553| }; trace: while evaluating the attribute 'condition' at: (552:14) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 551| { _type = "if"; 552| inherit condition content; | ^ 553| }; trace: while evaluating the attribute 'condition' at: (552:14) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 551| { _type = "if"; 552| inherit condition content; | ^ 553| }; trace: while evaluating 'dischargeProperties' at: (467:25) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 466| */ 467| dischargeProperties = def: | ^ 468| if def._type or "" == "merge" then trace: from call site at: (396:137) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 395| defs' = concatMap (m: 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 397| ) defs; trace: while evaluating definitions from `/nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/config/resolvconf.nix': trace: while evaluating anonymous lambdaction at: (395:28) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: from call site at: (395:17) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: while evaluating the attribute 'values' at: (508:7) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 507| in { 508| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | ^ 509| inherit highestPrio; trace: while evaluating the attribute 'values' at: (409:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 408| in { 409| values = defs'''; | ^ 410| inherit (defs'') highestPrio; trace: while evaluating the attribute 'mergedValue' at: (415:5) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 414| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 415| mergedValue = | ^ 416| if isDefined then trace: while evaluating the option `systemd.services': trace: while evaluating the attribute 'value' at: (383:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 382| in opt // 383| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 384| inherit (res.defsFinal') highestPrio; trace: while evaluating anonymous lambdaction at: (84:45) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 83| yieldConfig = prefix: set: 84| let res = removeAttrs (mapAttrs (n: v: | ^ 85| if isOption v then v.value trace: from call site trace: while evaluating the attribute 'systemd.services' trace: while evaluating 'mapAttrsToList' at: (233:23) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/attrsets.nix 232| */ 233| mapAttrsToList = f: attrs: | ^ 234| map (name: f name attrs.${name}) (attrNames attrs); trace: from call site at: (147:40) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/security/systemd-confinement.nix 146| 147| config.assertions = lib.concatLists (lib.mapAttrsToList (name: cfg: let | ^ 148| whatOpt = optName: "The 'serviceConfig' option '${optName}' for" trace: while evaluating the attribute 'value' at: (281:44) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 280| defnsByName' = byName "config" (module: value: 281| [{ inherit (module) file; inherit value; }] | ^ 282| ) configs; trace: while evaluating 'dischargeProperties' at: (467:25) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 466| */ 467| dischargeProperties = def: | ^ 468| if def._type or "" == "merge" then trace: from call site at: (396:137) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 395| defs' = concatMap (m: 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | ^ 397| ) defs; trace: while evaluating definitions from `/nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/security/systemd-confinement.nix': trace: while evaluating anonymous lambdaction at: (395:28) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: from call site at: (395:17) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 394| # Process mkMerge and mkIf properties. 395| defs' = concatMap (m: | ^ 396| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) trace: while evaluating the attribute 'values' at: (508:7) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 507| in { 508| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | ^ 509| inherit highestPrio; trace: while evaluating the attribute 'values' at: (409:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 408| in { 409| values = defs'''; | ^ 410| inherit (defs'') highestPrio; trace: while evaluating the attribute 'mergedValue' at: (415:5) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 414| # Type-check the remaining definitions, and merge them. Or throw if no definitions. 415| mergedValue = | ^ 416| if isDefined then trace: while evaluating the option `assertions': trace: while evaluating the attribute 'value' at: (383:9) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 382| in opt // 383| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | ^ 384| inherit (res.defsFinal') highestPrio; trace: while evaluating anonymous lambdaction at: (84:45) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/modules.nix 83| yieldConfig = prefix: set: 84| let res = removeAttrs (mapAttrs (n: v: | ^ 85| if isOption v then v.value trace: from call site trace: while evaluating the attribute 'assertions' trace: while evaluating 'fold'' at: (55:15) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/lists.nix 54| len = length list; 55| fold' = n: | ^ 56| if n == len trace: from call site at: (59:8) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/lists.nix 58| else op (elemAt list n) (fold' (n + 1)); 59| in fold' 0; | ^ 60| trace: while evaluating 'foldr' at: (52:20) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/lib/lists.nix 51| */ 52| foldr = op: nul: list: | ^ 53| let trace: from call site at: (128:12) in file: /nix/store/s96qag65jvd740mvwpzcfipf2zagwj07-source/nixos/modules/system/activation/top-level.nix 127| # Replace runtime dependencies 128| system = fold ({ oldDependency, newDependency }: drv: | ^ 129| pkgs.replaceDependency { inherit oldDependency newDependency drv; }