Advertisement
Guest User

Untitled

a guest
Feb 6th, 2022
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 40.17 KB | None | 0 0
  1. error: value is a function while a set was expected
  2.  
  3.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:32:
  4.  
  5.           616|       description = "${t1.description} or ${t2.description}";
  6.           617|       check = x: t1.check x || t2.check x;
  7.              |                                ^
  8.           618|       merge = loc: defs:
  9.  
  10.        … while evaluating 'check'
  11.  
  12.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:15:
  13.  
  14.           616|       description = "${t1.description} or ${t2.description}";
  15.           617|       check = x: t1.check x || t2.check x;
  16.              |               ^
  17.           618|       merge = loc: defs:
  18.  
  19.        … from call site
  20.  
  21.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:18:
  22.  
  23.           616|       description = "${t1.description} or ${t2.description}";
  24.           617|       check = x: t1.check x || t2.check x;
  25.              |                  ^
  26.           618|       merge = loc: defs:
  27.  
  28.        … while evaluating 'check'
  29.  
  30.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:15:
  31.  
  32.           616|       description = "${t1.description} or ${t2.description}";
  33.           617|       check = x: t1.check x || t2.check x;
  34.              |               ^
  35.           618|       merge = loc: defs:
  36.  
  37.        … from call site
  38.  
  39.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:22:
  40.  
  41.           618|       if isDefined then
  42.           619|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  43.              |                      ^
  44.           620|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;
  45.  
  46.        … while evaluating anonymous lambda
  47.  
  48.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:17:
  49.  
  50.           618|       if isDefined then
  51.           619|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  52.              |                 ^
  53.           620|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;
  54.  
  55.        … from call site
  56.  
  57.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:12:
  58.  
  59.           618|       if isDefined then
  60.           619|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  61.              |            ^
  62.           620|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;
  63.  
  64.        … while evaluating the attribute 'mergedValue'
  65.  
  66.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
  67.  
  68.           616|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  69.           617|     mergedValue =
  70.              |     ^
  71.           618|       if isDefined then
  72.  
  73.        … while evaluating the option `environment.wordlist.lists.[definition 1-entry 1].source':
  74.  
  75.       … while evaluating the attribute 'value'
  76.  
  77.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
  78.  
  79.          584|     in warnDeprecation opt //
  80.          585|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  81.             |         ^
  82.          586|         inherit (res.defsFinal') highestPrio;
  83.  
  84.       … while evaluating anonymous lambda
  85.  
  86.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
  87.  
  88.          170|           # For definitions that have an associated option
  89.          171|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  90.             |                                                                        ^
  91.          172|
  92.  
  93.       … from call site
  94.  
  95.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
  96.  
  97.          303|               then recurse (path ++ [name]) value
  98.          304|               else f (path ++ [name]) value;
  99.             |                    ^
  100.          305|         in mapAttrs g set;
  101.  
  102.       … while evaluating 'g'
  103.  
  104.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
  105.  
  106.          300|           g =
  107.          301|             name: value:
  108.             |                   ^
  109.          302|             if isAttrs value && cond value
  110.  
  111.       … from call site
  112.  
  113.       … while evaluating 'processSource'
  114.  
  115.       at /nix/store/gkx77r9q3kk2nfc0yadkdd7ip5wnkwj7-source/wordlist.nix:7:23:
  116.  
  117.            6| # wordlist constructed from the various paths and strings.
  118.            7| processSource = name: source:
  119.             |                       ^
  120.            8|   if builtins.typeOf source == "string"
  121.  
  122.       … from call site
  123.  
  124.       at /nix/store/gkx77r9q3kk2nfc0yadkdd7ip5wnkwj7-source/wordlist.nix:110:29:
  125.  
  126.          109|           attrs // {
  127.          110|             "${x.envVar}" = processSource "wordlist-${x.envVar}" x.source;
  128.             |                             ^
  129.          111|           }
  130.  
  131.       … while evaluating the attribute 'value'
  132.  
  133.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:404:60:
  134.  
  135.          403|           # Push down position info.
  136.          404|           (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs)));
  137.             |                                                            ^
  138.          405|       emptyValue = { value = {}; };
  139.  
  140.       … while evaluating 'dischargeProperties'
  141.  
  142.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
  143.  
  144.          668|   */
  145.          669|   dischargeProperties = def:
  146.             |                         ^
  147.          670|     if def._type or "" == "merge" then
  148.  
  149.       … from call site
  150.  
  151.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
  152.  
  153.          597|         defs' = concatMap (m:
  154.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  155.             |                                                                                                                                         ^
  156.          599|         ) defs;
  157.  
  158.       … while evaluating definitions from `/nix/store/gkx77r9q3kk2nfc0yadkdd7ip5wnkwj7-source/wordlist.nix':
  159.  
  160.        … while evaluating anonymous lambda
  161.  
  162.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
  163.  
  164.           596|         # Process mkMerge and mkIf properties.
  165.           597|         defs' = concatMap (m:
  166.             |                            ^
  167.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  168.  
  169.       … from call site
  170.  
  171.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
  172.  
  173.          596|         # Process mkMerge and mkIf properties.
  174.          597|         defs' = concatMap (m:
  175.             |                 ^
  176.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  177.  
  178.       … while evaluating the attribute 'values'
  179.  
  180.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
  181.  
  182.          709|     in {
  183.          710|       values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  184.             |       ^
  185.          711|       inherit highestPrio;
  186.  
  187.       … while evaluating the attribute 'values'
  188.  
  189.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
  190.  
  191.          610|       in {
  192.          611|         values = defs''';
  193.              |         ^
  194.           612|         inherit (defs'') highestPrio;
  195.  
  196.        … while evaluating the attribute 'optionalValue'
  197.  
  198.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:629:5:
  199.  
  200.           628|
  201.           629|     optionalValue =
  202.              |     ^
  203.           630|       if isDefined then { value = mergedValue; }
  204.  
  205.        … while evaluating anonymous lambda
  206.  
  207.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:400:86:
  208.  
  209.           399|       merge = loc: defs:
  210.           400|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  211.              |                                                                                      ^
  212.           401|             (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
  213.  
  214.        … from call site
  215.  
  216.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:369:15:
  217.  
  218.           368|       inherit name;
  219.           369|       value = f name (catAttrs name sets);
  220.              |               ^
  221.           370|     }) names);
  222.  
  223.        … while evaluating the attribute 'AUGMENTED_WORDLIST'
  224.  
  225.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:369:7:
  226.  
  227.           368|       inherit name;
  228.           369|       value = f name (catAttrs name sets);
  229.              |       ^
  230.           370|     }) names);
  231.  
  232.        … while evaluating anonymous lambda
  233.  
  234.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:400:51:
  235.  
  236.           399|       merge = loc: defs:
  237.           400|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  238.              |                                                   ^
  239.           401|             (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
  240.  
  241.        … from call site
  242.  
  243.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:128:62:
  244.  
  245.           127|   filterAttrs = pred: set:
  246.           128|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
  247.              |                                                              ^
  248.           129|
  249.  
  250.        … while evaluating anonymous lambda
  251.  
  252.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:128:29:
  253.  
  254.           127|   filterAttrs = pred: set:
  255.           128|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
  256.              |                             ^
  257.           129|
  258.  
  259.        … from call site
  260.  
  261.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:128:18:
  262.  
  263.           127|   filterAttrs = pred: set:
  264.           128|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
  265.              |                  ^
  266.           129|
  267.  
  268.        … while evaluating 'filterAttrs'
  269.  
  270.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:127:23:
  271.  
  272.           126|   */
  273.           127|   filterAttrs = pred: set:
  274.              |                       ^
  275.           128|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
  276.  
  277.        … from call site
  278.  
  279.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:400:35:
  280.  
  281.           399|       merge = loc: defs:
  282.           400|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  283.              |                                   ^
  284.           401|             (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
  285.  
  286.        … while evaluating 'merge'
  287.  
  288.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:399:20:
  289.  
  290.           398|       check = isAttrs;
  291.           399|       merge = loc: defs:
  292.              |                    ^
  293.           400|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
  294.  
  295.        … from call site
  296.  
  297.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:59:
  298.  
  299.           618|       if isDefined then
  300.           619|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
  301.              |                                                           ^
  302.           620|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;
  303.  
  304.        … while evaluating the attribute 'mergedValue'
  305.  
  306.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
  307.  
  308.           616|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  309.           617|     mergedValue =
  310.              |     ^
  311.           618|       if isDefined then
  312.  
  313.        … while evaluating the option `environment.variables':
  314.  
  315.       … while evaluating the attribute 'value'
  316.  
  317.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
  318.  
  319.          584|     in warnDeprecation opt //
  320.          585|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  321.             |         ^
  322.          586|         inherit (res.defsFinal') highestPrio;
  323.  
  324.       … while evaluating anonymous lambda
  325.  
  326.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
  327.  
  328.          170|           # For definitions that have an associated option
  329.          171|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  330.             |                                                                        ^
  331.          172|
  332.  
  333.       … from call site
  334.  
  335.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
  336.  
  337.          303|               then recurse (path ++ [name]) value
  338.          304|               else f (path ++ [name]) value;
  339.             |                    ^
  340.          305|         in mapAttrs g set;
  341.  
  342.       … while evaluating 'g'
  343.  
  344.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
  345.  
  346.          300|           g =
  347.          301|             name: value:
  348.             |                   ^
  349.          302|             if isAttrs value && cond value
  350.  
  351.       … from call site
  352.  
  353.       … while evaluating 'zipAttrsWithNames'
  354.  
  355.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:366:33:
  356.  
  357.          365|   */
  358.          366|   zipAttrsWithNames = names: f: sets:
  359.             |                                 ^
  360.          367|     listToAttrs (map (name: {
  361.  
  362.       … from call site
  363.  
  364.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:381:27:
  365.  
  366.          380|   */
  367.          381|   zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
  368.             |                           ^
  369.          382|   /* Like `zipAttrsWith' with `(name: values: values)' as the function.
  370.  
  371.       … while evaluating 'zipAttrsWith'
  372.  
  373.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:381:21:
  374.  
  375.          380|   */
  376.          381|   zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
  377.             |                     ^
  378.          382|   /* Like `zipAttrsWith' with `(name: values: values)' as the function.
  379.  
  380.       … from call site
  381.  
  382.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/config/shells-environment.nix:23:9:
  383.  
  384.           22|       allVariables =
  385.           23|         zipAttrsWith (n: concatLists) [ absoluteVariables suffixedVariables ];
  386.             |         ^
  387.           24|
  388.  
  389.       … while evaluating 'mapAttrsToList'
  390.  
  391.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:258:23:
  392.  
  393.          257|   */
  394.          258|   mapAttrsToList = f: attrs:
  395.             |                       ^
  396.          259|     map (name: f name attrs.${name}) (attrNames attrs);
  397.  
  398.       … from call site
  399.  
  400.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/config/shells-environment.nix:26:9:
  401.  
  402.           25|       exportVariables =
  403.           26|         mapAttrsToList (n: v: ''export ${n}="${concatStringsSep ":" v}"'') allVariables;
  404.             |         ^
  405.           27|     in
  406.  
  407.       … while evaluating the attribute 'text' of the derivation 'set-environment'
  408.  
  409.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/pkgs/stdenv/generic/make-derivation.nix:205:7:
  410.  
  411.          204|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
  412.          205|       name =
  413.             |       ^
  414.          206|         let
  415.  
  416.       … while evaluating the attribute 'value'
  417.  
  418.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:452:44:
  419.  
  420.          451|       defnsByName' = byName "config" (module: value:
  421.          452|           [{ inherit (module) file; inherit value; }]
  422.             |                                            ^
  423.          453|         ) configs;
  424.  
  425.       … while evaluating 'dischargeProperties'
  426.  
  427.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
  428.  
  429.          668|   */
  430.          669|   dischargeProperties = def:
  431.             |                         ^
  432.          670|     if def._type or "" == "merge" then
  433.  
  434.       … from call site
  435.  
  436.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
  437.  
  438.          597|         defs' = concatMap (m:
  439.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  440.             |                                                                                                                                         ^
  441.          599|         ) defs;
  442.  
  443.       … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/programs/bash/bash.nix':
  444.  
  445.        … while evaluating anonymous lambda
  446.  
  447.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
  448.  
  449.           596|         # Process mkMerge and mkIf properties.
  450.           597|         defs' = concatMap (m:
  451.             |                            ^
  452.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  453.  
  454.       … from call site
  455.  
  456.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
  457.  
  458.          596|         # Process mkMerge and mkIf properties.
  459.          597|         defs' = concatMap (m:
  460.             |                 ^
  461.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  462.  
  463.       … while evaluating the attribute 'values'
  464.  
  465.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
  466.  
  467.          709|     in {
  468.          710|       values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  469.             |       ^
  470.          711|       inherit highestPrio;
  471.  
  472.       … while evaluating the attribute 'values'
  473.  
  474.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
  475.  
  476.          610|       in {
  477.          611|         values = defs''';
  478.              |         ^
  479.           612|         inherit (defs'') highestPrio;
  480.  
  481.        … while evaluating the attribute 'mergedValue'
  482.  
  483.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
  484.  
  485.           616|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  486.           617|     mergedValue =
  487.              |     ^
  488.           618|       if isDefined then
  489.  
  490.        … while evaluating the option `programs.bash.shellInit':
  491.  
  492.       … while evaluating the attribute 'value'
  493.  
  494.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
  495.  
  496.          584|     in warnDeprecation opt //
  497.          585|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  498.             |         ^
  499.          586|         inherit (res.defsFinal') highestPrio;
  500.  
  501.       … while evaluating anonymous lambda
  502.  
  503.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
  504.  
  505.          170|           # For definitions that have an associated option
  506.          171|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  507.             |                                                                        ^
  508.          172|
  509.  
  510.       … from call site
  511.  
  512.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
  513.  
  514.          303|               then recurse (path ++ [name]) value
  515.          304|               else f (path ++ [name]) value;
  516.             |                    ^
  517.          305|         in mapAttrs g set;
  518.  
  519.       … while evaluating 'g'
  520.  
  521.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
  522.  
  523.          300|           g =
  524.          301|             name: value:
  525.             |                   ^
  526.          302|             if isAttrs value && cond value
  527.  
  528.       … from call site
  529.  
  530.       … while evaluating the attribute 'value'
  531.  
  532.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:452:44:
  533.  
  534.          451|       defnsByName' = byName "config" (module: value:
  535.          452|           [{ inherit (module) file; inherit value; }]
  536.             |                                            ^
  537.          453|         ) configs;
  538.  
  539.       … while evaluating 'dischargeProperties'
  540.  
  541.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
  542.  
  543.          668|   */
  544.          669|   dischargeProperties = def:
  545.             |                         ^
  546.          670|     if def._type or "" == "merge" then
  547.  
  548.       … from call site
  549.  
  550.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
  551.  
  552.          597|         defs' = concatMap (m:
  553.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  554.             |                                                                                                                                         ^
  555.          599|         ) defs;
  556.  
  557.       … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/programs/bash/bash.nix':
  558.  
  559.        … while evaluating anonymous lambda
  560.  
  561.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
  562.  
  563.           596|         # Process mkMerge and mkIf properties.
  564.           597|         defs' = concatMap (m:
  565.             |                            ^
  566.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  567.  
  568.       … from call site
  569.  
  570.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
  571.  
  572.          596|         # Process mkMerge and mkIf properties.
  573.          597|         defs' = concatMap (m:
  574.             |                 ^
  575.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  576.  
  577.       … while evaluating the attribute 'values'
  578.  
  579.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
  580.  
  581.          709|     in {
  582.          710|       values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  583.             |       ^
  584.          711|       inherit highestPrio;
  585.  
  586.       … while evaluating the attribute 'values'
  587.  
  588.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
  589.  
  590.          610|       in {
  591.          611|         values = defs''';
  592.              |         ^
  593.           612|         inherit (defs'') highestPrio;
  594.  
  595.        … while evaluating the attribute 'mergedValue'
  596.  
  597.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
  598.  
  599.           616|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  600.           617|     mergedValue =
  601.              |     ^
  602.           618|       if isDefined then
  603.  
  604.        … while evaluating the option `environment.etc.profile.text':
  605.  
  606.       … while evaluating the attribute 'value'
  607.  
  608.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
  609.  
  610.          584|     in warnDeprecation opt //
  611.          585|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  612.             |         ^
  613.          586|         inherit (res.defsFinal') highestPrio;
  614.  
  615.       … while evaluating anonymous lambda
  616.  
  617.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
  618.  
  619.          170|           # For definitions that have an associated option
  620.          171|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  621.             |                                                                        ^
  622.          172|
  623.  
  624.       … from call site
  625.  
  626.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
  627.  
  628.          303|               then recurse (path ++ [name]) value
  629.          304|               else f (path ++ [name]) value;
  630.             |                    ^
  631.          305|         in mapAttrs g set;
  632.  
  633.       … while evaluating 'g'
  634.  
  635.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
  636.  
  637.          300|           g =
  638.          301|             name: value:
  639.             |                   ^
  640.          302|             if isAttrs value && cond value
  641.  
  642.       … from call site
  643.  
  644.       … while evaluating the attribute 'condition'
  645.  
  646.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:753:14:
  647.  
  648.          752|     { _type = "if";
  649.          753|       inherit condition content;
  650.             |              ^
  651.          754|     };
  652.  
  653.       … while evaluating 'dischargeProperties'
  654.  
  655.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
  656.  
  657.          668|   */
  658.          669|   dischargeProperties = def:
  659.             |                         ^
  660.          670|     if def._type or "" == "merge" then
  661.  
  662.       … from call site
  663.  
  664.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
  665.  
  666.          597|         defs' = concatMap (m:
  667.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  668.             |                                                                                                                                         ^
  669.          599|         ) defs;
  670.  
  671.       … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix':
  672.  
  673.        … while evaluating anonymous lambda
  674.  
  675.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
  676.  
  677.           596|         # Process mkMerge and mkIf properties.
  678.           597|         defs' = concatMap (m:
  679.             |                            ^
  680.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  681.  
  682.       … from call site
  683.  
  684.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
  685.  
  686.          596|         # Process mkMerge and mkIf properties.
  687.          597|         defs' = concatMap (m:
  688.             |                 ^
  689.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  690.  
  691.       … while evaluating the attribute 'values'
  692.  
  693.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
  694.  
  695.          709|     in {
  696.          710|       values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  697.             |       ^
  698.          711|       inherit highestPrio;
  699.  
  700.       … while evaluating the attribute 'values'
  701.  
  702.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
  703.  
  704.          610|       in {
  705.          611|         values = defs''';
  706.              |         ^
  707.           612|         inherit (defs'') highestPrio;
  708.  
  709.        … while evaluating the attribute 'mergedValue'
  710.  
  711.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
  712.  
  713.           616|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  714.           617|     mergedValue =
  715.              |     ^
  716.           618|       if isDefined then
  717.  
  718.        … while evaluating the option `environment.etc.profile.source':
  719.  
  720.       … while evaluating the attribute 'value'
  721.  
  722.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
  723.  
  724.          584|     in warnDeprecation opt //
  725.          585|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  726.             |         ^
  727.          586|         inherit (res.defsFinal') highestPrio;
  728.  
  729.       … while evaluating anonymous lambda
  730.  
  731.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
  732.  
  733.          170|           # For definitions that have an associated option
  734.          171|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  735.             |                                                                        ^
  736.          172|
  737.  
  738.       … from call site
  739.  
  740.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
  741.  
  742.          303|               then recurse (path ++ [name]) value
  743.          304|               else f (path ++ [name]) value;
  744.             |                    ^
  745.          305|         in mapAttrs g set;
  746.  
  747.       … while evaluating 'g'
  748.  
  749.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
  750.  
  751.          300|           g =
  752.          301|             name: value:
  753.             |                   ^
  754.          302|             if isAttrs value && cond value
  755.  
  756.       … from call site
  757.  
  758.       … while evaluating 'escapeShellArg'
  759.  
  760.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings.nix:318:20:
  761.  
  762.          317|   */
  763.          318|   escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
  764.             |                    ^
  765.          319|
  766.  
  767.       … from call site
  768.  
  769.       … while evaluating 'concatMapStringsSep'
  770.  
  771.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings.nix:110:5:
  772.  
  773.          109|     # List of input strings
  774.          110|     list: concatStringsSep sep (map f list);
  775.             |     ^
  776.          111|
  777.  
  778.       … from call site
  779.  
  780.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix:54:43:
  781.  
  782.           53|     mkdir -p "$out/etc"
  783.           54|     ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
  784.             |                                           ^
  785.           55|       "makeEtcEntry"
  786.  
  787.       … while evaluating anonymous lambda
  788.  
  789.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix:54:33:
  790.  
  791.           53|     mkdir -p "$out/etc"
  792.           54|     ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
  793.             |                                 ^
  794.           55|       "makeEtcEntry"
  795.  
  796.       … from call site
  797.  
  798.       … while evaluating 'concatMapStringsSep'
  799.  
  800.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings.nix:110:5:
  801.  
  802.          109|     # List of input strings
  803.          110|     list: concatStringsSep sep (map f list);
  804.             |     ^
  805.          111|
  806.  
  807.       … from call site
  808.  
  809.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix:54:7:
  810.  
  811.           53|     mkdir -p "$out/etc"
  812.           54|     ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
  813.             |       ^
  814.           55|       "makeEtcEntry"
  815.  
  816.       … while evaluating the attribute 'buildCommand' of the derivation 'etc'
  817.  
  818.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/pkgs/stdenv/generic/make-derivation.nix:205:7:
  819.  
  820.          204|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
  821.          205|       name =
  822.             |       ^
  823.          206|         let
  824.  
  825.       … while evaluating the attribute 'value'
  826.  
  827.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:452:44:
  828.  
  829.          451|       defnsByName' = byName "config" (module: value:
  830.          452|           [{ inherit (module) file; inherit value; }]
  831.             |                                            ^
  832.          453|         ) configs;
  833.  
  834.       … while evaluating 'dischargeProperties'
  835.  
  836.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
  837.  
  838.          668|   */
  839.          669|   dischargeProperties = def:
  840.             |                         ^
  841.          670|     if def._type or "" == "merge" then
  842.  
  843.       … from call site
  844.  
  845.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
  846.  
  847.          597|         defs' = concatMap (m:
  848.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  849.             |                                                                                                                                         ^
  850.          599|         ) defs;
  851.  
  852.       … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix':
  853.  
  854.        … while evaluating anonymous lambda
  855.  
  856.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
  857.  
  858.           596|         # Process mkMerge and mkIf properties.
  859.           597|         defs' = concatMap (m:
  860.             |                            ^
  861.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  862.  
  863.       … from call site
  864.  
  865.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
  866.  
  867.          596|         # Process mkMerge and mkIf properties.
  868.          597|         defs' = concatMap (m:
  869.             |                 ^
  870.          598|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
  871.  
  872.       … while evaluating the attribute 'values'
  873.  
  874.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
  875.  
  876.          709|     in {
  877.          710|       values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
  878.             |       ^
  879.          711|       inherit highestPrio;
  880.  
  881.       … while evaluating the attribute 'values'
  882.  
  883.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
  884.  
  885.          610|       in {
  886.          611|         values = defs''';
  887.              |         ^
  888.           612|         inherit (defs'') highestPrio;
  889.  
  890.        … while evaluating the attribute 'mergedValue'
  891.  
  892.        at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
  893.  
  894.           616|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
  895.           617|     mergedValue =
  896.              |     ^
  897.           618|       if isDefined then
  898.  
  899.        … while evaluating the option `system.activationScripts.etc.text':
  900.  
  901.       … while evaluating the attribute 'value'
  902.  
  903.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
  904.  
  905.          584|     in warnDeprecation opt //
  906.          585|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
  907.             |         ^
  908.          586|         inherit (res.defsFinal') highestPrio;
  909.  
  910.       … while evaluating anonymous lambda
  911.  
  912.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
  913.  
  914.          170|           # For definitions that have an associated option
  915.          171|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
  916.             |                                                                        ^
  917.          172|
  918.  
  919.       … from call site
  920.  
  921.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
  922.  
  923.          303|               then recurse (path ++ [name]) value
  924.          304|               else f (path ++ [name]) value;
  925.             |                    ^
  926.          305|         in mapAttrs g set;
  927.  
  928.       … while evaluating 'g'
  929.  
  930.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
  931.  
  932.          300|           g =
  933.          301|             name: value:
  934.             |                   ^
  935.          302|             if isAttrs value && cond value
  936.  
  937.       … from call site
  938.  
  939.       … while evaluating the attribute 'text'
  940.  
  941.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:9:5:
  942.  
  943.            8|   addAttributeName = mapAttrs (a: v: v // {
  944.            9|     text = ''
  945.             |     ^
  946.           10|       #### Activation script snippet ${a}:
  947.  
  948.       … while evaluating 'id'
  949.  
  950.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/trivial.nix:14:5:
  951.  
  952.           13|     # The value to return
  953.           14|     x: x;
  954.             |     ^
  955.           15|
  956.  
  957.       … from call site
  958.  
  959.       … while evaluating 'textClosureMap'
  960.  
  961.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings-with-deps.nix:75:35:
  962.  
  963.           74|
  964.           75|   textClosureMap = f: predefined: names:
  965.             |                                   ^
  966.           76|     concatStringsSep "\n" (map f (textClosureList predefined names));
  967.  
  968.       … from call site
  969.  
  970.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:49:9:
  971.  
  972.           48|
  973.           49|       ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)}
  974.             |         ^
  975.           50|
  976.  
  977.       … while evaluating 'systemActivationScript'
  978.  
  979.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:20:33:
  980.  
  981.           19|
  982.           20|   systemActivationScript = set: onlyDry: let
  983.             |                                 ^
  984.           21|     set' = mapAttrs (_: v: if isString v then (noDepEntry v) // { supportsDryActivation = false; } else v) set;
  985.  
  986.       … from call site
  987.  
  988.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:136:18:
  989.  
  990.          135|       apply = set: set // {
  991.          136|         script = systemActivationScript set false;
  992.             |                  ^
  993.          137|       };
  994.  
  995.       … while evaluating the attribute 'system.activationScripts.script'
  996.  
  997.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:136:9:
  998.  
  999.          135|       apply = set: set // {
  1000.          136|         script = systemActivationScript set false;
  1001.             |         ^
  1002.          137|       };
  1003.  
  1004.       … while evaluating the attribute 'activationScript' of the derivation 'nixos-system-abraxas-21.11.20220111.386234e'
  1005.  
  1006.       at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/pkgs/stdenv/generic/make-derivation.nix:205:7:
  1007.  
  1008.          204|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
  1009.          205|       name =
  1010.             |       ^
  1011.          206|         let
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement