Created
November 6, 2024 06:27
-
-
Save nipsy/b3a0846bb2777062367719144d749d51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| warning: updating lock file '/etc/nixos/flake.lock': | |
| • Updated input 'disko': | |
| 'github:nix-community/disko/380847d94ff0fedee8b50ee4baddb162c06678df?narHash=sha256-Mhqz3p/HEiI/zxBJWO57LYQf6gGlJB0tci6fiVXLjd8%3D' (2024-11-03) | |
| → 'github:nix-community/disko/856a2902156ba304efebd4c1096dbf7465569454?narHash=sha256-sdY29RWz0S7VbaoTwSy6RummdHKf0wUTaBlqPxrtvmQ%3D' (2024-11-04) | |
| • Updated input 'home-manager': | |
| 'github:nix-community/home-manager/8f6ca7855d409aeebe2a582c6fd6b6a8d0bf5661?narHash=sha256-ZFJqIXpvVKvzOVFKWNRDyIyAo%2BGYdmEPaYi1bZB6uf0%3D' (2024-11-03) | |
| → 'github:nix-community/home-manager/2f607e07f3ac7e53541120536708e824acccfaa8?narHash=sha256-0kZL4m%2BbKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc%3D' (2024-11-05) | |
| • Updated input 'nixos-hardware': | |
| 'github:nixos/nixos-hardware/f6e0cd5c47d150c4718199084e5764f968f1b560?narHash=sha256-GJB1/aaTnAtt9sso/EQ77TAGJ/rt6uvlP0RqZFnWue8%3D' (2024-11-02) | |
| → 'github:nixos/nixos-hardware/12ad8c1bf13ff15ffa6afe82c59b4af0b9226035?narHash=sha256-VK7LkfdcpUi8tqcgMIYY2jejDh4O3MNw9An0FcKveRQ%3D' (2024-11-06) | |
| • Updated input 'nixpkgs': | |
| 'github:nixos/nixpkgs/7ffd9ae656aec493492b44d0ddfb28e79a1ea25d?narHash=sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY%3D' (2024-11-02) | |
| → 'github:nixos/nixpkgs/4aa36568d413aca0ea84a1684d2d46f55dbabad7?narHash=sha256-Zwl8YgTVJTEum%2BL%2B0zVAWvXAGbWAuXHax3KzuejaDyo%3D' (2024-11-05) | |
| • Updated input 'nixpkgs-master': | |
| 'github:nixos/nixpkgs/4fe46b10de6c909eb7cb44dd20c9ca6fd8a02585?narHash=sha256-ElNS2UxtC1%2BPlgzVzY3vZKh5TpSfQPahBoIEBStxb0s%3D' (2024-11-04) | |
| → 'github:nixos/nixpkgs/f4cac4e64b03816b109c7706928fee451ea2f55a?narHash=sha256-ljSt/ozNskeF6JgElcCT8k90cEsYXoPO9K1bhlIGCkA%3D' (2024-11-06) | |
| • Updated input 'nixpkgs-stable': | |
| 'github:nixos/nixpkgs/93aae9db9bdf6fd53533ca9b021f710effde3f66?narHash=sha256-XUbICqVxbbuPWmjd1DjWZCuTEX8G2I1yMrrPE2k0W7w%3D' (2024-11-04) | |
| → 'github:nixos/nixpkgs/911e6111c71bc861769597f66aadcdc080c2db1e?narHash=sha256-ooSCcuJ/vq0PmuoBzkodnZd%2BN2g9privwczPshW57Sc%3D' (2024-11-06) | |
| • Updated input 'sops-nix': | |
| 'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760?narHash=sha256-1NveNAMLHbxOg0BpBMSVuZ2yW2PpDnZLbZ25wV50PMc%3D' (2024-11-03) | |
| → 'github:Mic92/sops-nix/f21c31dadf0a486ee5a501779e505036fb1b1bcf?narHash=sha256-AO3xerwwEQ74s8TMeAfaOvHSvPI6FK4J5H%2BACkRZVGk%3D' (2024-11-06) | |
| unpacking 1 channels... | |
| building the system configuration... | |
| error: | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1204:18: | |
| 1203| mapAttrs | |
| 1204| (name: value: | |
| | ^ | |
| 1205| if isAttrs value && cond value | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:845:9: | |
| 844| in { | |
| 845| values = defs'''; | |
| | ^ | |
| 846| inherit (defs'') highestPrio; | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix': | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:614:53: | |
| 613| (n: value: | |
| 614| [{ inherit (module) file; inherit value; }] | |
| | ^ | |
| 615| ) | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:72:26: | |
| 71| | |
| 72| baseSystemAssertWarn = if failedAssertions != [] | |
| | ^ | |
| 73| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}" | |
| … while calling the 'map' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:70:22: | |
| 69| | |
| 70| failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions); | |
| | ^ | |
| 71| | |
| … while calling the 'filter' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:70:42: | |
| 69| | |
| 70| failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions); | |
| | ^ | |
| 71| | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:70:67: | |
| 69| | |
| 70| failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions); | |
| | ^ | |
| 71| | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1204:18: | |
| 1203| mapAttrs | |
| 1204| (name: value: | |
| | ^ | |
| 1205| if isAttrs value && cond value | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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 `assertions': | |
| (10 duplicate frames omitted) | |
| … while evaluating definitions from `/nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix': | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:903:25: | |
| 902| */ | |
| 903| dischargeProperties = def: | |
| | ^ | |
| 904| if def._type or "" == "merge" then | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:909:11: | |
| 908| if def.condition then | |
| 909| dischargeProperties def.content | |
| | ^ | |
| 910| else | |
| … while calling 'dischargeProperties' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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 'content' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:1008:25: | |
| 1007| { _type = "if"; | |
| 1008| inherit condition content; | |
| | ^ | |
| 1009| }; | |
| … from call site | |
| at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix:110:20: | |
| 109| | |
| 110| assertions = flatten (flip mapAttrsToList cfg.users (user: config: | |
| | ^ | |
| 111| flip map config.assertions (assertion: { | |
| … while calling 'flatten' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:431:13: | |
| 430| */ | |
| 431| flatten = x: | |
| | ^ | |
| 432| if isList x | |
| … while calling the 'concatMap' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:433:10: | |
| 432| if isList x | |
| 433| then concatMap (y: flatten y) x | |
| | ^ | |
| 434| else [x]; | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:433:21: | |
| 432| if isList x | |
| 433| then concatMap (y: flatten y) x | |
| | ^ | |
| 434| else [x]; | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:433:24: | |
| 432| if isList x | |
| 433| then concatMap (y: flatten y) x | |
| | ^ | |
| 434| else [x]; | |
| … while calling 'flatten' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:431:13: | |
| 430| */ | |
| 431| flatten = x: | |
| | ^ | |
| 432| if isList x | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:432:5: | |
| 431| flatten = x: | |
| 432| if isList x | |
| | ^ | |
| 433| then concatMap (y: flatten y) x | |
| … while calling the 'isList' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:432:8: | |
| 431| flatten = x: | |
| 432| if isList x | |
| | ^ | |
| 433| then concatMap (y: flatten y) x | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1095:10: | |
| 1094| attrs: | |
| 1095| map (name: f name attrs.${name}) (attrNames attrs); | |
| | ^ | |
| 1096| | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix:110:66: | |
| 109| | |
| 110| assertions = flatten (flip mapAttrsToList cfg.users (user: config: | |
| | ^ | |
| 111| flip map config.assertions (assertion: { | |
| … from call site | |
| at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix:111:9: | |
| 110| assertions = flatten (flip mapAttrsToList cfg.users (user: config: | |
| 111| flip map config.assertions (assertion: { | |
| | ^ | |
| 112| inherit (assertion) assertion; | |
| … while calling 'flip' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:317:16: | |
| 316| */ | |
| 317| flip = f: a: b: f b a; | |
| | ^ | |
| 318| | |
| … while calling the 'map' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:317:19: | |
| 316| */ | |
| 317| flip = f: a: b: f b a; | |
| | ^ | |
| 318| | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1095:23: | |
| 1094| attrs: | |
| 1095| map (name: f name attrs.${name}) (attrNames attrs); | |
| | ^ | |
| 1096| | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:577:22: | |
| 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 'value' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:864:27: | |
| 863| optionalValue = | |
| 864| if isDefined then { value = mergedValue; } | |
| | ^ | |
| 865| else {}; | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:881:22: | |
| 880| check = x: isAttrs x || isFunction x || path.check x; | |
| 881| merge = loc: defs: | |
| | ^ | |
| 882| (base.extendModules { | |
| … while evaluating the attribute 'config' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:334:9: | |
| 333| options = checked options; | |
| 334| config = checked (removeAttrs config [ "_module" ]); | |
| | ^ | |
| 335| _module = checked (config._module); | |
| … while calling the 'seq' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:334:18: | |
| 333| options = checked options; | |
| 334| config = checked (removeAttrs config [ "_module" ]); | |
| | ^ | |
| 335| _module = checked (config._module); | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:273:9: | |
| 272| checkUnmatched = | |
| 273| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then | |
| | ^ | |
| 274| let | |
| … in the left operand of the AND (&&) operator | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:273:72: | |
| 272| checkUnmatched = | |
| 273| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then | |
| | ^ | |
| 274| let | |
| … in the left operand of the AND (&&) operator | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:273:33: | |
| 272| checkUnmatched = | |
| 273| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then | |
| | ^ | |
| 274| let | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:266:12: | |
| 265| | |
| 266| in if declaredConfig._module.freeformType == null then declaredConfig | |
| | ^ | |
| 267| # Because all definitions that had an associated option ended in | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:254:28: | |
| 253| # For definitions that have an associated option | |
| 254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | |
| | ^ | |
| 255| | |
| … while calling 'mapAttrsRecursiveCond' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1200:5: | |
| 1199| f: | |
| 1200| set: | |
| | ^ | |
| 1201| let | |
| … while calling the 'mapAttrs' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1209:5: | |
| 1208| in | |
| 1209| recurse [ ] set; | |
| | ^ | |
| 1210| | |
| … while evaluating the attribute 'matchedOptions' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:692:15: | |
| 691| in { | |
| 692| inherit matchedOptions; | |
| | ^ | |
| 693| | |
| … while calling the 'mapAttrs' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:683:24: | |
| 682| | |
| 683| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName; | |
| | ^ | |
| 684| | |
| … while calling the 'mapAttrs' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:636:23: | |
| 635| | |
| 636| resultsByName = mapAttrs (name: decls: | |
| | ^ | |
| 637| # We're descending into attribute ‘name’. | |
| … while calling the 'zipAttrsWith' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:553:9: | |
| 552| declsByName = | |
| 553| zipAttrsWith | |
| | ^ | |
| 554| (n: concatLists) | |
| … while calling the 'map' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:555:12: | |
| 554| (n: concatLists) | |
| 555| (map | |
| | ^ | |
| 556| (module: let subtree = module.options; in | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:246:33: | |
| 245| ({ inherit lib options config specialArgs; } // specialArgs); | |
| 246| in mergeModules prefix (reverseList collected); | |
| | ^ | |
| 247| | |
| … while calling 'reverseList' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:1116:17: | |
| 1115| */ | |
| 1116| reverseList = xs: | |
| | ^ | |
| 1117| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l; | |
| … while calling the 'genList' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:1117:27: | |
| 1116| reverseList = xs: | |
| 1117| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l; | |
| | ^ | |
| 1118| | |
| … while evaluating the second argument passed to builtins.genList | |
| … while calling the 'length' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:1117:13: | |
| 1116| reverseList = xs: | |
| 1117| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l; | |
| | ^ | |
| 1118| | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:241:25: | |
| 240| merged = | |
| 241| let collected = collectModules | |
| | ^ | |
| 242| class | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:452:37: | |
| 451| | |
| 452| in modulesPath: initialModules: args: | |
| | ^ | |
| 453| filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args); | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:453:7: | |
| 452| in modulesPath: initialModules: args: | |
| 453| filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args); | |
| | ^ | |
| 454| | |
| … while calling 'filterModules' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:420:36: | |
| 419| # modules recursively. It returns the final list of unique-by-key modules | |
| 420| filterModules = modulesPath: { disabled, modules }: | |
| | ^ | |
| 421| let | |
| … while calling the 'map' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:447:12: | |
| 446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys); | |
| 447| in map (attrs: attrs.module) (genericClosure { | |
| | ^ | |
| 448| startSet = keyFilter modules; | |
| … while calling the 'genericClosure' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:447:39: | |
| 446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys); | |
| 447| in map (attrs: attrs.module) (genericClosure { | |
| | ^ | |
| 448| startSet = keyFilter modules; | |
| … while calling the 'filter' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:448:22: | |
| 447| in map (attrs: attrs.module) (genericClosure { | |
| 448| startSet = keyFilter modules; | |
| | ^ | |
| 449| operator = attrs: keyFilter attrs.modules; | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:446:31: | |
| 445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled; | |
| 446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys); | |
| | ^ | |
| 447| in map (attrs: attrs.module) (genericClosure { | |
| … in the argument of the not operator | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:446:40: | |
| 445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled; | |
| 446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys); | |
| | ^ | |
| 447| in map (attrs: attrs.module) (genericClosure { | |
| … while calling the 'elem' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:446:40: | |
| 445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled; | |
| 446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys); | |
| | ^ | |
| 447| in map (attrs: attrs.module) (genericClosure { | |
| … while calling the 'concatMap' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:445:26: | |
| 444| | |
| 445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled; | |
| | ^ | |
| 446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys); | |
| … while calling the 'concatLists' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:24: | |
| 401| collectResults = modules: { | |
| 402| disabled = concatLists (catAttrs "disabled" modules); | |
| | ^ | |
| 403| inherit modules; | |
| … while evaluating the attribute 'disabled' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:13: | |
| 401| collectResults = modules: { | |
| 402| disabled = concatLists (catAttrs "disabled" modules); | |
| | ^ | |
| 403| inherit modules; | |
| … while calling the 'concatLists' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:24: | |
| 401| collectResults = modules: { | |
| 402| disabled = concatLists (catAttrs "disabled" modules); | |
| | ^ | |
| 403| inherit modules; | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:413:25: | |
| 412| modules = collectedImports.modules; | |
| 413| disabled = (if module.disabledModules != [] then [{ file = module._file; disabled = module.disabledModules; }] else []) ++ collectedImports.disabled; | |
| | ^ | |
| 414| }) initialModules); | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:407:22: | |
| 406| let | |
| 407| module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x); | |
| | ^ | |
| 408| collectedImports = collectStructuredModules module._file module.key module.imports args; | |
| … while calling anonymous lambda | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:366:11: | |
| 365| then | |
| 366| m: | |
| | ^ | |
| 367| if m._class != null -> m._class == class | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:367:13: | |
| 366| m: | |
| 367| if m._class != null -> m._class == class | |
| | ^ | |
| 368| then m | |
| … in the left operand of the IMPL (->) operator | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:367:33: | |
| 366| m: | |
| 367| if m._class != null -> m._class == class | |
| | ^ | |
| 368| then m | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:407:35: | |
| 406| let | |
| 407| module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x); | |
| | ^ | |
| 408| collectedImports = collectStructuredModules module._file module.key module.imports args; | |
| … while calling 'loadModule' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:348:53: | |
| 347| # Like unifyModuleSyntax, but also imports paths and calls functions if necessary | |
| 348| loadModule = args: fallbackFile: fallbackKey: m: | |
| | ^ | |
| 349| if isFunction m then | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:361:14: | |
| 360| throw "Module imports can't be nested lists. Perhaps you meant to remove one level of lists? Definitions: ${showDefs defs}" | |
| 361| else unifyModuleSyntax (toString m) (toString m) (applyModuleArgsIfFunction (toString m) (import m) args); | |
| | ^ | |
| 362| | |
| … while calling 'unifyModuleSyntax' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:461:34: | |
| 460| of ‘options’, ‘config’ and ‘imports’ attributes. */ | |
| 461| unifyModuleSyntax = file: key: m: | |
| | ^ | |
| 462| let | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:470:5: | |
| 469| in | |
| 470| if m ? config || m ? options then | |
| | ^ | |
| 471| let badAttrs = removeAttrs m ["_class" "_file" "key" "disabledModules" "imports" "options" "config" "meta" "freeformType"]; in | |
| … in the left operand of the OR (||) operator | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:470:19: | |
| 469| in | |
| 470| if m ? config || m ? options then | |
| | ^ | |
| 471| let badAttrs = removeAttrs m ["_class" "_file" "key" "disabledModules" "imports" "options" "config" "meta" "freeformType"]; in | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:361:59: | |
| 360| throw "Module imports can't be nested lists. Perhaps you meant to remove one level of lists? Definitions: ${showDefs defs}" | |
| 361| else unifyModuleSyntax (toString m) (toString m) (applyModuleArgsIfFunction (toString m) (import m) args); | |
| | ^ | |
| 362| | |
| … while calling 'applyModuleArgsIfFunction' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:495:39: | |
| 494| | |
| 495| applyModuleArgsIfFunction = key: f: args@{ config, ... }: | |
| | ^ | |
| 496| if isFunction f then applyModuleArgs key f args else f; | |
| … while evaluating a branch condition | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:496:5: | |
| 495| applyModuleArgsIfFunction = key: f: args@{ config, ... }: | |
| 496| if isFunction f then applyModuleArgs key f args else f; | |
| | ^ | |
| 497| | |
| … from call site | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:496:8: | |
| 495| applyModuleArgsIfFunction = key: f: args@{ config, ... }: | |
| 496| if isFunction f then applyModuleArgs key f args else f; | |
| | ^ | |
| 497| | |
| … while calling 'isFunction' | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:1000:16: | |
| 999| */ | |
| 1000| isFunction = f: builtins.isFunction f || | |
| | ^ | |
| 1001| (f ? __functor && isFunction (f.__functor f)); | |
| … in the left operand of the OR (||) operator | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:1000:41: | |
| 999| */ | |
| 1000| isFunction = f: builtins.isFunction f || | |
| | ^ | |
| 1001| (f ? __functor && isFunction (f.__functor f)); | |
| … while calling the 'isFunction' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:1000:19: | |
| 999| */ | |
| 1000| isFunction = f: builtins.isFunction f || | |
| | ^ | |
| 1001| (f ? __functor && isFunction (f.__functor f)); | |
| … while calling the 'import' builtin | |
| at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:361:99: | |
| 360| throw "Module imports can't be nested lists. Perhaps you meant to remove one level of lists? Definitions: ${showDefs defs}" | |
| 361| else unifyModuleSyntax (toString m) (toString m) (applyModuleArgsIfFunction (toString m) (import m) args); | |
| | ^ | |
| 362| | |
| error: undefined variable 'mkOption' | |
| at /nix/store/xr07wbm6cs6dcgkgk0z5fah1pyisa6kx-source/modules/home-manager/sops.nix:135:22: | |
| 134| | |
| 135| defaultSopsKey = mkOption { | |
| | ^ | |
| 136| type = lib.types.nullOr lib.types.str; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment