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

Symbol's function definition is void when installing on home-manager flake #45

Open
akaihola opened this issue Dec 16, 2024 · 0 comments

Comments

@akaihola
Copy link
Contributor

I'm getting a Symbol's function definition is void / (doom-modules-initialize) traceback when running home-manager switch --flake. I'm running NixOS unstable and Home Manager flake using the standalone home-manager tool.

In my home-manager flake.nix inputs I have:

    nix-doom-emacs-unstraightened = {
      url = "github:marienz/nix-doom-emacs-unstraightened/main";
    };

and in my home-manager configuration:

{ config, pkgs, inputs, ... }:

{
  programs.doom-emacs = {
    enable = true;
    doomDir = ./doom.d;
  };
  home.packages = with pkgs; [
    ctags
  ];
}

Here is the traceback:

$ home-manager switch
$ home-manager switch --show-trace --flake ~/repos/nixos-config/home-manager
warning: Git tree '/home/akaihola/repos/nixos-config' is dirty
warning: updating lock file '/home/akaihola/repos/nixos-config/home-manager/flake.lock':
• Updated input 'nix-doom-emacs-unstraightened':
    'github:marienz/nix-doom-emacs-unstraightened/f42213c85926350c31be8c37f162d05a5d7b1240?narHash=sha256-v6iwYZ%2BYpI2u9Zcig8H9YfYJS3mpg0PKxRkeBK2GSzY%3D' (2024-11-02)
  → 'github:marienz/nix-doom-emacs-unstraightened/728040b0b7c2c0baa47fb3365b57bd3e1658207a?narHash=sha256-KEuh2nsgl8iiPWMg4wfrnCoZqPssw6dbMCy9MheLJZg%3D' (2024-12-16)
warning: Git tree '/home/akaihola/repos/nixos-config' is dirty
warning: Git tree '/home/akaihola/repos/nixos-config' is dirty
warning: Git tree '/home/akaihola/repos/nixos-config' is dirty
warning: Git tree '/home/akaihola/repos/nixos-config' is dirty
trace: warning: You are using

  Home Manager version 24.11 and
  Nixpkgs version 25.05.

Using mismatched versions is likely to cause errors and unexpected
behavior. It is therefore highly recommended to use a release of Home
Manager that corresponds with your chosen release of Nixpkgs.

If you insist then you can disable this warning by adding

  home.enableNixpkgsReleaseCheck = false;

to your configuration.

error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'home-manager-generation'
         whose name attribute is located at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/stdenv/generic/make-derivation.nix:336:7while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/trivial-builders/default.nix:59:17:
           58|         enableParallelBuilding = true;
           59|         inherit buildCommand name;
             |                 ^
           60|         passAsFile = [ "buildCommand" ]while calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:44:19:
           43|       value = commonAttrs // {
           44|         outPath = builtins.getAttr outputName strict;
             |                   ^
           45|         drvPath = strict.drvPath;while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'activation-script'
         whose name attribute is located at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/stdenv/generic/make-derivation.nix:336:7while evaluating attribute 'text' of derivation 'activation-script'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/trivial-builders/default.nix:102:17:
          101|       ({
          102|         inherit text executable checkPhase allowSubstitutes preferLocalBuild;
             |                 ^
          103|         passAsFile = [ "text" ]while calling the 'concatStringsSep' builtin
         at /nix/store/781lg988vxf6dw57igf4l6plm92dfj6c-source/modules/home-environment.nix:673:13:
          672|           if sortedCommands ? result then
          673|             concatStringsSep "\n" (map mkCmd sortedCommands.result)
             |             ^
          674|           elsewhile calling 'mkCmd'
         at /nix/store/781lg988vxf6dw57igf4l6plm92dfj6c-source/modules/home-environment.nix:666:17:
          665|       let
          666|         mkCmd = res: ''
             |                 ^
          667|             _iNote "Activating %s" "${res.name}"

       … while evaluating the attribute 'data'
         at /nix/store/781lg988vxf6dw57igf4l6plm92dfj6c-source/modules/lib/dag.nix:89:43:
           88|     in if sorted ? result then {
           89|       result = map (v: { inherit (v) name data; }) sorted.result;
             |                                           ^
           90|     } else

       … while evaluating the attribute 'data'
         at /nix/store/781lg988vxf6dw57igf4l6plm92dfj6c-source/modules/lib/dag.nix:83:9:
           82|         name = n;
           83|         data = v.data;
             |         ^
           84|         after = v.after ++ dagBefore dag n;

       … from call site
         at /nix/store/781lg988vxf6dw57igf4l6plm92dfj6c-source/modules/lib/dag.nix:83:16:
           82|         name = n;
           83|         data = v.data;
             |                ^
           84|         after = v.after ++ dagBefore dag n;

       … while calling anonymous lambda
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/attrsets.nix:1204:18:
         1203|         mapAttrs
         1204|           (name: value:
             |                  ^
         1205|             if isAttrs value && cond value

       … from call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-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/22r7q7s9552gn1vpjigkbhfgcvhsrz68-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/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:846:9:
          845|     in warnDeprecation opt //
          846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          847|         inherit (res.defsFinal') highestPrio;

       … while evaluating the option `home.activation.installPackages.data':

       … while evaluating the attribute 'mergedValue'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:881:5:
          880|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
          881|     mergedValue =
             |     ^
          882|       if isDefined then

       … while evaluating a branch condition
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:882:7:
          881|     mergedValue =
          882|       if isDefined then
             |       ^
          883|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal

       … while evaluating the attribute 'values'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:875:9:
          874|       in {
          875|         values = defs''';
             |         ^
          876|         inherit (defs'') highestPrio;while evaluating a branch condition
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:871:11:
          870|           # Avoid sorting if we don't have to.
          871|           if any (def: def.value._type or "" == "order") defs''.values
             |           ^
          872|           then sortProperties defs''.valueswhile calling the 'any' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:871:14:
          870|           # Avoid sorting if we don't have to.
          871|           if any (def: def.value._type or "" == "order") defs''.values
             |              ^
          872|           then sortProperties defs''.valueswhile evaluating the attribute 'values'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:974:7:
          973|     in {
          974|       values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
             |       ^
          975|       inherit highestPrio;while calling the 'concatMap' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:974:16:
          973|     in {
          974|       values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
             |                ^
          975|       inherit highestPrio;while calling the 'concatMap' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:861:17:
          860|         # Process mkMerge and mkIf properties.
          861|         defs' = concatMap (m:
             |                 ^
          862|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))while calling anonymous lambda
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:861:28:
          860|         # Process mkMerge and mkIf properties.
          861|         defs' = concatMap (m:
             |                            ^
          862|           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/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:862:11:
          861|         defs' = concatMap (m:
          862|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |           ^
          863|         ) defs;while evaluating definitions from `/nix/store/781lg988vxf6dw57igf4l6plm92dfj6c-source/modules/home-environment.nix':

       … from call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:862:128:
          861|         defs' = concatMap (m:
          862|           map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                ^
          863|         ) defs;while calling 'dischargeProperties'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:933:25:
          932|   */
          933|   dischargeProperties = def:
             |                         ^
          934|     if def._type or "" == "merge" thenwhile evaluating a branch condition
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:934:5:
          933|   dischargeProperties = def:
          934|     if def._type or "" == "merge" then
             |     ^
          935|       concatMap dischargeProperties def.contentswhile evaluating the attribute 'value'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/modules.nix:614:53:
          613|                 (n: value:
          614|                   [{ inherit (module) file; inherit value; }]
             |                                                     ^
          615|                 )while calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:44:19:
           43|       value = commonAttrs // {
           44|         outPath = builtins.getAttr outputName strict;
             |                   ^
           45|         drvPath = strict.drvPath;while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'home-manager-path'
         whose name attribute is located at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/stdenv/generic/make-derivation.nix:336:7while evaluating attribute 'passAsFile' of derivation 'home-manager-path'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/trivial-builders/default.nix:60:9:
           59|         inherit buildCommand name;
           60|         passAsFile = [ "buildCommand" ]
             |         ^
           61|           ++ (derivationArgs.passAsFile or [ ]);while evaluating the attribute 'passAsFile'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:107:7:
          106|       # XXX: The size is somewhat arbitrary
          107|       passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
             |       ^
          108|     }while evaluating a branch condition
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:107:20:
          106|       # XXX: The size is somewhat arbitrary
          107|       passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
             |                    ^
          108|     }in the argument of the not operator
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:107:50:
          106|       # XXX: The size is somewhat arbitrary
          107|       passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
             |                                                  ^
          108|     }while calling the 'lessThan' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:107:50:
          106|       # XXX: The size is somewhat arbitrary
          107|       passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
             |                                                  ^
          108|     }while calling the 'stringLength' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:107:23:
          106|       # XXX: The size is somewhat arbitrary
          107|       passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ];
             |                       ^
          108|     }while calling the 'toJSON' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:102:14:
          101|         ;
          102|       pkgs = builtins.toJSON chosenOutputs;
             |              ^
          103|       extraPathsFrom = lib.optional includeClosures (writeClosure pathsForClosure);while evaluating list element at index 56while evaluating attribute 'paths'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:64:7:
           63|     chosenOutputs = map (drv: {
           64|       paths =
             |       ^
           65|         # First add the usual output(s): respect if user has chosen explicitly,while evaluating list element at index 0
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/build-support/buildenv/default.nix:64:7:
           63|     chosenOutputs = map (drv: {
           64|       paths =
             |       ^
           65|         # First add the usual output(s): respect if user has chosen explicitly,while calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:44:19:
           43|       value = commonAttrs // {
           44|         outPath = builtins.getAttr outputName strict;
             |                   ^
           45|         drvPath = strict.drvPath;while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'emacs-with-doom-29.4'
         whose name attribute is located at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/stdenv/generic/make-derivation.nix:336:7while evaluating attribute 'doomEmacs' of derivation 'emacs-with-doom-29.4'
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:443:13:
          442|     inherit (emacs) meta;
          443|     inherit doomEmacs emacs;
             |             ^
          444|     buildCommandPath = ./build-helpers/build-emacs-with-doom.sh;while calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:44:19:
           43|       value = commonAttrs // {
           44|         outPath = builtins.getAttr outputName strict;
             |                   ^
           45|         drvPath = strict.drvPath;while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'doom-emacs'
         whose name attribute is located at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/stdenv/generic/make-derivation.nix:336:7while evaluating attribute 'doomProfile' of derivation 'doom-emacs'
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:430:7:
          429|       binPath
          430|       doomProfile
             |       ^
          431|       doomLocalDirwhile calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:44:19:
           43|       value = commonAttrs // {
           44|         outPath = builtins.getAttr outputName strict;
             |                   ^
           45|         drvPath = strict.drvPath;while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'doom-profile'
         whose name attribute is located at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/pkgs/stdenv/generic/make-derivation.nix:336:7while evaluating attribute 'EMACS' of derivation 'doom-profile'
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:407:5:
          406|     initEl = ./init.el;
          407|     EMACS = lib.getExe emacsWithPackages;
             |     ^
          408|     inherit (emacsWithPackages) deps;from call site
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:407:13:
          406|     initEl = ./init.el;
          407|     EMACS = lib.getExe emacsWithPackages;
             |             ^
          408|     inherit (emacsWithPackages) deps;while calling 'getExe'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/meta.nix:433:12:
          432|   */
          433|   getExe = x: getExe' x (x.meta.mainProgram or (
             |            ^
          434|     # This could be turned into an error when 23.05 is at end of lifefrom call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/meta.nix:433:15:
          432|   */
          433|   getExe = x: getExe' x (x.meta.mainProgram or (
             |               ^
          434|     # This could be turned into an error when 23.05 is at end of lifewhile calling 'getExe''
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/meta.nix:473:16:
          472|   */
          473|   getExe' = x: y:
             |                ^
          474|     assert assertMsg (isDerivation x)in the condition of the assert statement
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/meta.nix:474:5:
          473|   getExe' = x: y:
          474|     assert assertMsg (isDerivation x)
             |     ^
          475|       "lib.meta.getExe': The first argument is of type ${typeOf x}, but it should be a derivation instead.";from call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/meta.nix:474:12:
          473|   getExe' = x: y:
          474|     assert assertMsg (isDerivation x)
             |            ^
          475|       "lib.meta.getExe': The first argument is of type ${typeOf x}, but it should be a derivation instead.";while calling 'assertMsg'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/asserts.nix:39:21:
           38|   # TODO(Profpatsch): add tests that check stderr
           39|   assertMsg = pred: msg: pred || builtins.throw msg;
             |                     ^
           40|

       … in the left operand of the OR (||) operator
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/asserts.nix:39:31:
           38|   # TODO(Profpatsch): add tests that check stderr
           39|   assertMsg = pred: msg: pred || builtins.throw msg;
             |                               ^
           40|

       … from call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/meta.nix:474:23:
          473|   getExe' = x: y:
          474|     assert assertMsg (isDerivation x)
             |                       ^
          475|       "lib.meta.getExe': The first argument is of type ${typeOf x}, but it should be a derivation instead.";while calling 'isDerivation'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/attrsets.nix:1282:5:
         1281|   isDerivation =
         1282|     value: value.type or null == "derivation";
             |     ^
         1283|

       … from call site
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:120:23:
          119|   # Step 2: override Emacs packages to respect Doom's pins.
          120|   doomEmacsPackages = (emacsPackagesFor emacs).overrideScope (
             |                       ^
          121|     eself: esuper:

       … while calling 'overrideScope'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/customisation.nix:545:27:
          544|           callPackage = self.newScope {};
          545|           overrideScope = g: makeScope newScope (extends g f);
             |                           ^
          546|           packages = f;from call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/customisation.nix:545:30:
          544|           callPackage = self.newScope {};
          545|           overrideScope = g: makeScope newScope (extends g f);
             |                              ^
          546|           packages = f;while calling 'makeScope'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/customisation.nix:541:25:
          540|   */
          541|   makeScope = newScope: f:
             |                         ^
          542|     let self = f self // {in the left operand of the update (//) operator
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/customisation.nix:542:23:
          541|   makeScope = newScope: f:
          542|     let self = f self // {
             |                       ^
          543|           newScope = scope: newScope (self // scope);from call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/customisation.nix:542:16:
          541|   makeScope = newScope: f:
          542|     let self = f self // {
             |                ^
          543|           newScope = scope: newScope (self // scope);while calling 'extends'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/fixed-points.nix:323:7:
          322|     (
          323|       final:
             |       ^
          324|       letin the right operand of the update (//) operator
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/fixed-points.nix:327:12:
          326|       in
          327|       prev // overlay final prev
             |            ^
          328|     );from call site
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/fixed-points.nix:327:15:
          326|       in
          327|       prev // overlay final prev
             |               ^
          328|     );while calling anonymous lambda
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:121:12:
          120|   doomEmacsPackages = (emacsPackagesFor emacs).overrideScope (
          121|     eself: esuper:
             |            ^
          122|     letin the right operand of the update (//) operator
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:372:38:
          371|       doomPackages = lib.mapAttrs makePackage doomPackageSet;
          372|       allPackages = upstreamWithPins // doomPackages;
             |                                      ^
          373|     inwhile calling the 'mapAttrs' builtin
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:371:22:
          370|       ) esuper;
          371|       doomPackages = lib.mapAttrs makePackage doomPackageSet;
             |                      ^
          372|       allPackages = upstreamWithPins // doomPackages;from call site
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:115:20:
          114|   # Ignore agda-input: nixpkgs installs this as part of agda2-mode.
          115|   doomPackageSet = lib.filterAttrs (n: v: n != "agda-input") (
             |                    ^
          116|     lib.importJSON "${doomIntermediates}/packages.json"while calling 'filterAttrs'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/attrsets.nix:646:5:
          645|     pred:
          646|     set:
             |     ^
          647|     removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));while calling the 'removeAttrs' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/attrsets.nix:647:5:
          646|     set:
          647|     removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
             |     ^
          648|

       … from call site
         at /nix/store/sf5kvvh3v521i1xa0qg5zgg7fgh7vccy-source/default.nix:116:5:
          115|   doomPackageSet = lib.filterAttrs (n: v: n != "agda-input") (
          116|     lib.importJSON "${doomIntermediates}/packages.json"
             |     ^
          117|   );while calling 'importJSON'
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/trivial.nix:716:16:
          715|   */
          716|   importJSON = path:
             |                ^
          717|     builtins.fromJSON (builtins.readFile path);while calling the 'fromJSON' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/trivial.nix:717:5:
          716|   importJSON = path:
          717|     builtins.fromJSON (builtins.readFile path);
             |     ^
          718|

       … while evaluating the first argument passed to builtins.fromJSONwhile calling the 'readFile' builtin
         at /nix/store/22r7q7s9552gn1vpjigkbhfgcvhsrz68-source/lib/trivial.nix:717:24:
          716|   importJSON = path:
          717|     builtins.fromJSON (builtins.readFile path);
             |                        ^
          718|

       … while realising the context of path '/nix/store/qrd1mrbabf6h7jvszvxmpiaqyabrf3a6-doom-intermediates/packages.json'

       error: builder for '/nix/store/wpczx1kkfr0a3hqd3chaldbb0m05v9qb-doom-intermediates.drv' failed with exit code 255;
       last 20 log lines:
       > x There was an unexpected runtime error
       >   Message: Symbol's function definition is void
       >   Details: (doom-modules-initialize)
       >   Backtrace:
       >     (doom-modules-initialize)
       >     (let ((output-directory (cdr (assq 'output-directory alist)))) (doom-mod...
       >     ((closure (t) (cli alist) (let ((output-directory (cdr (assq 'output-dir...
       >     (funcall (closure (t) (cli alist) (let ((output-directory (cdr (assq 'ou...
       >     (doom-cli-execute #s(doom-cli ("dump") nil (("SUMMARY" . "Dump intermedi...
       >     (let ((cli x16) (bindings x17)) (doom-cli-execute cli bindings))
       >     (let* ((x16 (car-safe x15)) (x17 (cdr-safe x15))) (let ((cli x16) (bindi...
       >     (progn (ignore (consp x15)) (let* ((x16 (car-safe x15)) (x17 (cdr-safe x...
       >     (let ((x15 (car tail))) (progn (ignore (consp x15)) (let* ((x16 (car-saf...
       >     (while tail (let ((x15 (car tail))) (progn (ignore (consp x15)) (let* ((...
       >     (let ((tail (nreverse runners))) (while tail (let ((x15 (car tail))) (pr...
       >     (let ((seen '(t)) runners) (let ((tail (doom-cli-find command (progn (or...
       > GNU Emacs     v29.4            nil
       > Doom core     v3.0.0-pre       fatal: not a git repository (or any of the parent directories): .git
       > Doom modules  v24.10.0-pre     fatal: not a git repository (or any of the parent directories): .git
       >   ! Wrote extended backtrace to /build/doomlocaldir/state/logs/cli.dump.241216205058.8.error
       For full logs, run 'nix log /nix/store/wpczx1kkfr0a3hqd3chaldbb0m05v9qb-doom-intermediates.drv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant