Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable split/sandboxed docs build #4875

Open
jtojnar opened this issue Jan 9, 2024 · 1 comment
Open

Enable split/sandboxed docs build #4875

jtojnar opened this issue Jan 9, 2024 · 1 comment

Comments

@jtojnar
Copy link
Contributor

jtojnar commented Jan 9, 2024

Description

NixOS/nixpkgs#276887 broke the evaluation of vimPlugins on nixos-unstable (commit NixOS/nixpkgs@46ae021).

Even though I do not use vim, it broke the evaluation of my system because the vimPlugins attribute is evaluated in order to build the home-manager man page.

Maybe we should move towards split/sandboxed docs like nixos is doing now. It will also allow to better cache the docs derivations.

Full trace
error:
       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:956:24:

          955|     let f = attrPath:
          956|       zipAttrsWith (n: values:
             |                        ^
          957|         let here = attrPath ++ [n]; in

       … while calling 'g'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:739:19:

          738|           g =
          739|             name: value:
             |                   ^
          740|             if isAttrs value && cond value

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:742:20:

          741|               then recurse (path ++ [name]) value
          742|               else f (path ++ [name]) value;
             |                    ^
          743|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `system.build.toplevel':

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/nixos/modules/system/activation/top-level.nix':

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/nixos/modules/system/activation/top-level.nix:71:12:

           70|   # Replace runtime dependencies
           71|   system = foldr ({ oldDependency, newDependency }: drv:
             |            ^
           72|       pkgs.replaceDependency { inherit oldDependency newDependency drv; }

       … while calling 'foldr'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/lists.nix:53:20:

           52|   */
           53|   foldr = op: nul: list:
             |                    ^
           54|     let

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/lists.nix:60:8:

           59|         else op (elemAt list n) (fold' (n + 1));
           60|     in fold' 0;
             |        ^
           61|

       … while calling 'fold''

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/lists.nix:56:15:

           55|       len = length list;
           56|       fold' = n:
             |               ^
           57|         if n == len

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/nixos/modules/system/activation/top-level.nix:68:10:

           67|     then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
           68|     else showWarnings config.warnings baseSystem;
             |          ^
           69|

       … while calling 'showWarnings'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/trivial.nix:424:28:

          423|
          424|   showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
             |                            ^
          425|

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/trivial.nix:424:33:

          423|
          424|   showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
             |                                 ^
          425|

       … while calling 'foldr'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/lists.nix:53:20:

           52|   */
           53|   foldr = op: nul: list:
             |                    ^
           54|     let

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/lists.nix:60:8:

           59|         else op (elemAt list n) (fold' (n + 1));
           60|     in fold' 0;
             |        ^
           61|

       … while calling 'fold''

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/lists.nix:56:15:

           55|       len = length list;
           56|       fold' = n:
             |               ^
           57|         if n == len

       … while calling 'g'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:739:19:

          738|           g =
          739|             name: value:
             |                   ^
          740|             if isAttrs value && cond value

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:742:20:

          741|               then recurse (path ++ [name]) value
          742|               else f (path ++ [name]) value;
             |                    ^
          743|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `warnings':

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/nixos/modules/system/boot/systemd.nix':

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:653:10:

          652|     attrs:
          653|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          654|

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:653:16:

          652|     attrs:
          653|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          654|

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/nixos/modules/system/boot/systemd.nix:433:16:

          432|       mapAttrsToList
          433|         (name: service:
             |                ^
          434|           let

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/nixos/modules/system/boot/systemd.nix:440:16:

          439|             concatLists [
          440|               (optional (type == "oneshot" && (restart == "always" || restart == "on-success"))
             |                ^
          441|                 "Service '${name}.service' with 'Type=oneshot' cannot have 'Restart=always' or 'Restart=on-success'"

       … while calling 'optional'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/lists.nix:359:20:

          358|   */
          359|   optional = cond: elem: if cond then [elem] else [];
             |                    ^
          360|

       … while calling 'g'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:739:19:

          738|           g =
          739|             name: value:
             |                   ^
          740|             if isAttrs value && cond value

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:742:20:

          741|               then recurse (path ++ [name]) value
          742|               else f (path ++ [name]) value;
             |                    ^
          743|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `systemd.services.home-manager-jtojnar.serviceConfig':

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:846:59:

          845|       if isDefined then
          846|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
             |                                                           ^
          847|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;

       … while calling 'merge'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/types.nix:567:20:

          566|       check = isAttrs;
          567|       merge = loc: defs:
             |                    ^
          568|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/types.nix:568:35:

          567|       merge = loc: defs:
          568|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
             |                                   ^
          569|             (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue

       … while calling 'filterAttrs'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:419:5:

          418|     # The attribute set to filter
          419|     set:
             |     ^
          420|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:420:29:

          419|     set:
          420|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
             |                             ^
          421|

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:420:62:

          419|     set:
          420|     listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
             |                                                              ^
          421|

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/types.nix:568:51:

          567|       merge = loc: defs:
          568|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
             |                                                   ^
          569|             (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/types.nix:568:86:

          567|       merge = loc: defs:
          568|         mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
             |                                                                                      ^
          569|             (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/z1zl7rkdda3vwgbd73pnh0md9bdkkrdk-source/hosts/default.nix':

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … while evaluating derivation 'home-manager-generation'
         whose name attribute is located at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/build-support/trivial-builders/default.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       … while evaluating derivation 'home-manager-files'
         whose name attribute is located at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'buildCommand' of derivation 'home-manager-files'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/build-support/trivial-builders/default.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:653:10:

          652|     attrs:
          653|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          654|

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:653:16:

          652|     attrs:
          653|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          654|

       … while calling anonymous lambda

         at /nix/store/29wxnrq7dypkc45v20i4zywprr80vgbx-source/modules/files.nix:396:28:

          395|       '' + concatStrings (
          396|         mapAttrsToList (n: v: ''
             |                            ^
          397|           insertFile ${

       … from call site

         at /nix/store/29wxnrq7dypkc45v20i4zywprr80vgbx-source/modules/files.nix:398:13:

          397|           insertFile ${
          398|             escapeShellArgs [
             |             ^
          399|               (sourceStorePath v)

       … while calling 'concatMapStringsSep'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/strings.nix:117:5:

          116|     # List of input strings
          117|     list: concatStringsSep sep (map f list);
             |     ^
          118|

       … while calling 'escapeShellArg'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/strings.nix:443:20:

          442|   */
          443|   escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
             |                    ^
          444|

       … from call site

         at /nix/store/29wxnrq7dypkc45v20i4zywprr80vgbx-source/modules/files.nix:399:16:

          398|             escapeShellArgs [
          399|               (sourceStorePath v)
             |                ^
          400|               v.target

       … while calling 'sourceStorePath'

         at /nix/store/29wxnrq7dypkc45v20i4zywprr80vgbx-source/modules/files.nix:15:21:

           14|
           15|   sourceStorePath = file:
             |                     ^
           16|     let

       … while calling 'g'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:739:19:

          738|           g =
          739|             name: value:
             |                   ^
          740|             if isAttrs value && cond value

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:742:20:

          741|               then recurse (path ++ [name]) value
          742|               else f (path ++ [name]) value;
             |                    ^
          743|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `home-manager.users.jtojnar.home.file."/home/jtojnar/.config/fontconfig/conf.d/10-hm-fonts.conf".source':

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/29wxnrq7dypkc45v20i4zywprr80vgbx-source/modules/files.nix':

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … while calling 'g'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:739:19:

          738|           g =
          739|             name: value:
             |                   ^
          740|             if isAttrs value && cond value

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:742:20:

          741|               then recurse (path ++ [name]) value
          742|               else f (path ++ [name]) value;
             |                    ^
          743|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `home-manager.users.jtojnar.home.file."/home/jtojnar/.config/fontconfig/conf.d/10-hm-fonts.conf".text':

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/29wxnrq7dypkc45v20i4zywprr80vgbx-source/modules/misc/xdg.nix':

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … while calling 'g'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:739:19:

          738|           g =
          739|             name: value:
             |                   ^
          740|             if isAttrs value && cond value

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:742:20:

          741|               then recurse (path ++ [name]) value
          742|               else f (path ++ [name]) value;
             |                    ^
          743|         in mapAttrs g;

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `home-manager.users.jtojnar.xdg.configFile."fontconfig/conf.d/10-hm-fonts.conf".text':

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/29wxnrq7dypkc45v20i4zywprr80vgbx-source/modules/misc/fontconfig.nix':

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … while evaluating derivation 'home-manager-path'
         whose name attribute is located at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'passAsFile' of derivation 'home-manager-path'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/build-support/trivial-builders/default.nix:88:7:

           87|       inherit buildCommand name;
           88|       passAsFile = [ "buildCommand" ]
             |       ^
           89|         ++ (derivationArgs.passAsFile or []);

       … while evaluating derivation 'home-configuration-reference-manpage'
         whose name attribute is located at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'buildCommand' of derivation 'home-configuration-reference-manpage'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/build-support/trivial-builders/default.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       … while evaluating derivation 'options.json'
         whose name attribute is located at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'options' of derivation 'options.json'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/nixos/lib/make-options-doc/default.nix:125:7:

          124|       ];
          125|       options = builtins.toFile "options.json"
             |       ^
          126|         (builtins.unsafeDiscardStringContext (builtins.toJSON optionsNix));

       … while evaluating the default value of option `programs.vim.plugins`

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/options.nix:328:15:

          327|             builtins.addErrorContext "while evaluating the ${if opt?defaultText then "defaultText" else "default value"} of option `${name}`" (
          328|               renderOptionValue (opt.defaultText or opt.default)
             |               ^
          329|             );

       … while calling 'renderOptionValue'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/options.nix:365:23:

          364|   */
          365|   renderOptionValue = v:
             |                       ^
          366|     if v ? _type && v ? text then v

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/options.nix:367:10:

          366|     if v ? _type && v ? text then v
          367|     else literalExpression (lib.generators.toPretty {
             |          ^
          368|       multiline = true;

       … while calling 'literalExpression'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/options.nix:378:23:

          377|   */
          378|   literalExpression = text:
             |                       ^
          379|     if ! isString text then throw "literalExpression expects a string."

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/options.nix:367:29:

          366|     if v ? _type && v ? text then v
          367|     else literalExpression (lib.generators.toPretty {
             |                             ^
          368|       multiline = true;

       … while calling 'go'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/generators.nix:314:18:

          313|     let
          314|     go = indent: v: with builtins;
             |                  ^
          315|     let     isPath   = v: typeOf v == "path";

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/generators.nix:345:11:

          344|       else "[" + introSpace
          345|         + libStr.concatMapStringsSep introSpace (go (indent + "  ")) v
             |           ^
          346|         + outroSpace + "]"

       … while calling 'concatMapStringsSep'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/strings.nix:117:5:

          116|     # List of input strings
          117|     list: concatStringsSep sep (map f list);
             |     ^
          118|

       … while calling 'go'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/generators.nix:314:18:

          313|     let
          314|     go = indent: v: with builtins;
             |                  ^
          315|     let     isPath   = v: typeOf v == "path";

       … while calling 'scrubDerivation'

         at /nix/store/pxpsr0b80pfn3i5pvq8kqq3z1bwlqcig-source/default.nix:21:31:

           20|     let
           21|       scrubDerivation = name: value:
             |                               ^
           22|         let pkgAttrName = prefixPath + "." + name;

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/top-level/all-packages.nix:41269:16:

        41268|
        41269|   vimPlugins = recurseIntoAttrs (callPackage ../applications/editors/vim/plugins {
             |                ^
        41270|     llvmPackages = llvmPackages_6;

       … while calling 'recurseIntoAttrs'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/attrsets.nix:1169:5:

         1168|     # An attribute set to scan for derivations.
         1169|     attrs:
             |     ^
         1170|     attrs // { recurseForDerivations = true; };

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/top-level/all-packages.nix:41269:34:

        41268|
        41269|   vimPlugins = recurseIntoAttrs (callPackage ../applications/editors/vim/plugins {
             |                                  ^
        41270|     llvmPackages = llvmPackages_6;

       … while calling 'callPackageWith'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/customisation.nix:153:35:

          152|   */
          153|   callPackageWith = autoArgs: fn: args:
             |                                   ^
          154|     let

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/trivial.nix:440:7:

          439|     { # TODO: Should we add call-time "type" checking like built in?
          440|       __functor = self: f;
             |       ^
          441|       __functionArgs = args;

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/customisation.nix:96:17:

           95|     in
           96|     mirrorArgs (origArgs:
             |                 ^
           97|     let

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/customisation.nix:98:16:

           97|     let
           98|       result = f origArgs;
             |                ^
           99|

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/applications/editors/vim/plugins/default.nix:2:1:

            1| # TODO check that no license information gets lost
            2| { callPackage, config, lib, vimUtils, vim, darwin, llvmPackages
             | ^
            3| , neovimUtils

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/applications/editors/vim/plugins/default.nix:35:21:

           34|
           35|   extensible-self = lib.makeExtensible
             |                     ^
           36|     (extends aliases

       … while calling 'makeExtensibleWithCustomName'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:193:48:

          192|   */
          193|   makeExtensibleWithCustomName = extenderName: rattrs:
             |                                                ^
          194|     fix' (self: (rattrs self) // {

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:194:5:

          193|   makeExtensibleWithCustomName = extenderName: rattrs:
          194|     fix' (self: (rattrs self) // {
             |     ^
          195|       ${extenderName} = f: makeExtensibleWithCustomName extenderName (extends f rattrs);

       … while calling 'fix''

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:84:10:

           83|   */
           84|   fix' = f: let x = f x // { __unfix__ = f; }; in x;
             |          ^
           85|

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:84:21:

           83|   */
           84|   fix' = f: let x = f x // { __unfix__ = f; }; in x;
             |                     ^
           85|

       … while calling anonymous lambda

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:194:11:

          193|   makeExtensibleWithCustomName = extenderName: rattrs:
          194|     fix' (self: (rattrs self) // {
             |           ^
          195|       ${extenderName} = f: makeExtensibleWithCustomName extenderName (extends f rattrs);

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:194:18:

          193|   makeExtensibleWithCustomName = extenderName: rattrs:
          194|     fix' (self: (rattrs self) // {
             |                  ^
          195|       ${extenderName} = f: makeExtensibleWithCustomName extenderName (extends f rattrs);

       … while calling 'extends'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:141:24:

          140|   */
          141|   extends = f: rattrs: self: let super = rattrs self; in super // f self super;
             |                        ^
          142|

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:141:42:

          140|   */
          141|   extends = f: rattrs: self: let super = rattrs self; in super // f self super;
             |                                          ^
          142|

       … while calling 'extends'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/fixed-points.nix:141:24:

          140|   */
          141|   extends = f: rattrs: self: let super = rattrs self; in super // f self super;
             |                        ^
          142|

       … from call site

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/applications/editors/vim/plugins/default.nix:27:15:

           26|   # add to ./overrides.nix.
           27|   overrides = callPackage ./overrides.nix {
             |               ^
           28|     inherit (darwin.apple_sdk.frameworks) Cocoa CoreFoundation CoreServices;

       … while calling 'callPackageWith'

         at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/lib/customisation.nix:153:35:

          152|   */
          153|   callPackageWith = autoArgs: fn: args:
             |                                   ^
          154|     let

       error: lib.customisation.callPackageWith: Function called without required argument "gocode" at /nix/store/vqljs1ixabpdbfmq3llnlkj5dac1hq4c-source/pkgs/applications/editors/vim/plugins/overrides.nix:100, did you mean "gecode", "avocode" or "goose"?
Copy link

stale bot commented Apr 15, 2024

Thank you for your contribution! I marked this issue as stale due to inactivity. Please be considerate of people watching this issue and receiving notifications before commenting 'I have this issue too'. We welcome additional information that will help resolve this issue. Please read the relevant sections below before commenting.

If you are the original author of the issue

  • If this is resolved, please consider closing it so that the maintainers know not to focus on this.
  • If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
  • If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

If you are not the original author of the issue

  • If you are also experiencing this issue, please add details of your situation to help with the debugging process.
  • If you know how to solve the issue, please consider submitting a Pull Request that addresses this issue.

Memorandum on closing issues

Don't be afraid to manually close an issue, even if it holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen – nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

@stale stale bot added the status: stale label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants