Unable to make a nixos-rebuild by vscode extensions

I was installing a custom flake when I find this error. Looks like is

warning: Git tree '/home/amerino/.dotfiles' is dirty
trace: warning: External use of `lib.modules.applyModuleArgsIfFunction` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
trace: lib.crossLists is deprecated, use lib.cartesianProductOfSets instead
trace: warning: External use of `lib.modules.dischargeProperties` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
trace: warning: External use of `lib.modules.evalOptionValue` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
trace: warning: literalExample is deprecated, use literalExpression instead, or use literalDocBook for a non-Nix description.
trace: warning: External use of `lib.modules.mergeModules` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
trace: warning: External use of `lib.modules.mergeModules'` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
trace: warning: lib.mkFixStrictness has no effect and will be removed. It returns its argument unmodified, so you can just remove any calls.
trace: `lib.nixpkgsVersion` is deprecated, use `lib.version` instead!
trace: warning: External use of `lib.modules.pushDownProperties` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
trace: warning: lib.readPathsFromFile is deprecated, use a list instead
trace: warning: replaceChars is a deprecated alias of replaceStrings, replace usages of it with replaceStrings.
trace: warning: External use of `lib.modules.unifyModuleSyntax` is deprecated. If your use case isn't covered by non-deprecated functions, we'd like to know more and perhaps support your use case well, instead of providing access to these low level functions. In this case please open an issue in https://github.com/nixos/nixpkgs/issues/.
trace: lib.zip is deprecated, use lib.zipAttrsWith instead
error: 'buildVscodeExtension' at /nix/store/4a3qxnlq7r1gjwfjfqrizpf30hh22bz1-source/pkgs/applications/editors/vscode/extensions/vscode-utils.nix:3:26 called without required argument 'vscodeExtPublisher'

       at /nix/store/cvb9l5ch2dl52hqa3qxn430kv6ai7kbn-source/default.nix:181:5:

          180|   ''; in
          181|     pkgs.vscode-utils.buildVscodeExtension {
             |     ^
          182|       name = "rust-analyzer-${rust-analyzer-rev}";

I remove vscode and rust from the system, but the problem persist.

I set down the whole trace if someone can help me identify the issue.

Thanks in advice,
Alberto.


error:
       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:248:28:

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

       … while calling 'mapAttrsRecursiveCond'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:590:5:

          589|     # Attribute set to recursively map over.
          590|     set:
             |     ^
          591|     let

       … while evaluating the attribute 'matchedOptions'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:668:14:

          667|     in {
          668|       inherit matchedOptions;
             |              ^
          669|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:590:21:

          589|       # an attrset 'name' => list of submodules that declare ‘name’.
          590|       declsByName = byName "options" (module: option:
             |                     ^
          591|           [{ inherit (module) _file; options = option; }]

       … while calling 'byName'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:569:25:

          568|       */
          569|       byName = attr: f: modules:
             |                         ^
          570|         zipAttrsWith (n: concatLists)

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:240:33:

          239|           ({ inherit lib options config specialArgs; } // specialArgs);
          240|         in mergeModules prefix (reverseList collected);
             |                                 ^
          241|

       … while calling 'reverseList'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/lists.nix:406:17:

          405|   */
          406|   reverseList = xs:
             |                 ^
          407|     let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:235:25:

          234|       merged =
          235|         let collected = collectModules
             |                         ^
          236|           class

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:449:37:

          448|
          449|     in modulesPath: initialModules: args:
             |                                     ^
          450|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:450:7:

          449|     in modulesPath: initialModules: args:
          450|       filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
             |       ^
          451|

       … while calling 'filterModules'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:417:36:

          416|       # modules recursively. It returns the final list of unique-by-key modules
          417|       filterModules = modulesPath: { disabled, modules }:
             |                                    ^
          418|         let

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:443:31:

          442|           disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
          443|           keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
             |                               ^
          444|         in map (attrs: attrs.module) (builtins.genericClosure {

       … while evaluating the attribute 'disabled'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:399:13:

          398|           collectResults = modules: {
          399|             disabled = concatLists (catAttrs "disabled" modules);
             |             ^
          400|             inherit modules;

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:404:22:

          403|           let
          404|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                      ^
          405|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:363:11:

          362|         then
          363|           m:
             |           ^
          364|             if m._class != null -> m._class == class

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:404:35:

          403|           let
          404|             module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
             |                                   ^
          405|             collectedImports = collectStructuredModules module._file module.key module.imports args;

       … while calling 'loadModule'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:340:53:

          339|       # Like unifyModuleSyntax, but also imports paths and calls functions if necessary
          340|       loadModule = args: fallbackFile: fallbackKey: m:
             |                                                     ^
          341|         if isFunction m then

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/modules.nix:357:119:

          356|           let defs = [{ file = fallbackFile; value = m; }]; in
          357|           throw "Module imports can't be nested lists. Perhaps you meant to remove one level of lists? Definitions: ${showDefs defs}"
             |                                                                                                                       ^
          358|         else unifyModuleSyntax (toString m) (toString m) (applyModuleArgsIfFunction (toString m) (import m) args);

       … while calling 'showDefs'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/options.nix:406:14:

          405|
          406|   showDefs = defs: concatMapStrings (def:
             |              ^
          407|     let

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/options.nix:406:20:

          405|
          406|   showDefs = defs: concatMapStrings (def:
             |                    ^
          407|     let

       … while calling 'concatMapStrings'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/strings.nix:59:25:

           58|   */
           59|   concatMapStrings = f: list: concatStrings (map f list);
             |                         ^
           60|

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/options.nix:406:38:

          405|
          406|   showDefs = defs: concatMapStrings (def:
             |                                      ^
          407|     let

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/options.nix:410:10:

          409|       prettyEval = builtins.tryEval
          410|         (lib.generators.toPretty { }
             |          ^
          411|           (lib.generators.withRecursion { depthLimit = 10; throwOnDepthLimit = false; } def.value));

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:328:11:

          327|       else "[" + introSpace
          328|         + libStr.concatMapStringsSep introSpace (go (indent + "  ")) v
             |           ^
          329|         + outroSpace + "]"

       … while calling 'concatMapStringsSep'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/strings.nix:116:5:

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

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `home-manager`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `extraSpecialArgs`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `alejandra`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `inputs`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `fenix`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `outputs`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `packages`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `aarch64-darwin`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:10:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |          ^
          540|

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/attrsets.nix:539:16:

          538|     attrs:
          539|     map (name: f name attrs.${name}) (attrNames attrs);
             |                ^
          540|

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:346:22:

          345|           + libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
          346|               (name: value:
             |                      ^
          347|                 "${libStr.escapeNixIdentifier name} = ${

       … while evaluating an attribute `rust-analyzer-vscode-extension`

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:349:22:

          348|                   builtins.addErrorContext "while evaluating an attribute `${name}`"
          349|                     (go (indent + "  ") value)
             |                      ^
          350|                 };") v)

       … while calling 'go'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:297:18:

          296|     let
          297|     go = indent: v: with builtins;
             |                  ^
          298|     let     isPath   = v: typeOf v == "path";

       … while evaluating call site

       at «none»:0: (source not available)

       … while calling 'evalNext'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:272:24:

          271|           let
          272|             evalNext = x: mapAny (depth + 1) (transform (depth + 1) x);
             |                        ^
          273|           in

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:272:27:

          271|           let
          272|             evalNext = x: mapAny (depth + 1) (transform (depth + 1) x);
             |                           ^
          273|           in

       … while calling anonymous lambda

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:270:40:

          269|           else id;
          270|         mapAny = with builtins; depth: v:
             |                                        ^
          271|           let

       … while evaluating call site

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/generators.nix:272:47:

          271|           let
          272|             evalNext = x: mapAny (depth + 1) (transform (depth + 1) x);
             |                                               ^
          273|           in

       … while calling 'id'

       at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/lib/trivial.nix:14:5:

           13|     # The value to return
           14|     x: x;
             |     ^
           15|

       error: 'buildVscodeExtension' at /nix/store/fwpalmvh6cnphvvd6n362a5cq22ixniz-source/pkgs/applications/editors/vscode/extensions/vscode-utils.nix:3:26 called without required argument 'vscodeExtPublisher'

       at /nix/store/cvb9l5ch2dl52hqa3qxn430kv6ai7kbn-source/default.nix:181:5:

          180|   ''; in
          181|     pkgs.vscode-utils.buildVscodeExtension {
             |     ^
          182|       name = "rust-analyzer-${rust-analyzer-rev}";

Going to be very hard without seeing the code. Is it just in this file?

Hello, thanks to reply.
I don’t know if future errors will appear after this one, but at least this is the only one that appear to me when i run the nixos-rebuild switch.

let
  inherit (builtins)
    currentSystem elemAt filter fromJSON mapAttrs match readFile substring;

  getFlake = name:
    with (fromJSON (readFile ./flake.lock)).nodes.${name}.locked; {
      inherit rev;
      outPath = fetchTarball {
        url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz";
        sha256 = narHash;
      };
    };
in

{ system ? currentSystem
, pkgs ? import (getFlake "nixpkgs") { localSystem = { inherit system; }; }
, lib ? pkgs.lib
, rust-analyzer-src ? getFlake "rust-analyzer-src"
, rust-analyzer-rev ? substring 0 7 (rust-analyzer-src.rev or "0000000")
}:

let
  inherit (lib)
    attrVals filterAttrs findFirst foldl importJSON importTOML mapAttrs'
    mapNullable nameValuePair optionalString optionals pathIsRegularFile unique
    zipAttrsWith;

  v = pkgs.rust.toRustTarget pkgs.stdenv.buildPlatform;

  combine' = pkgs.callPackage ./lib/combine.nix { };

  mkToolchain = pkgs.callPackage ./lib/mk-toolchain.nix { };

  nightlyToolchains = mapAttrs
    (_: mapAttrs (profile: mkToolchain "-nightly-${profile}"))
    (importJSON ./data/nightly.json);

  fromManifest' = target: suffix: manifest:
    let toolchain = mkToolchain suffix {
      inherit (manifest) date;
      components = mapAttrs
        (_: src: { inherit (src) url; sha256 = src.hash; })
        (filterAttrs (_: src: src ? available && src.available) (mapAttrs
          (_: pkg:
            if pkg.target ? "*" then
              pkg.target."*"
            else if pkg.target ? ${target} then
              pkg.target.${target}
            else
              null)
          manifest.pkg));
    }; in
    toolchain // mapAttrs'
      (k: v:
        nameValuePair "${k}Toolchain" (toolchain.withComponents
          (filter (component: toolchain ? ${component}) v)))
      manifest.profiles
    // {
      inherit manifest;
    };

  fromManifestFile' = target: name: file:
    fromManifest' target name (importTOML file);

  toolchainOf' = target:
    { root ? "https://static.rust-lang.org/dist"
    , channel ? "nightly"
    , date ? null
    , sha256 ? null
    }:
    let
      url = "${root}${optionalString (date != null) "/${date}"}/channel-rust-${channel}.toml";
    in
    fromManifestFile' target "-${channel}" (if (sha256 == null) then
      builtins.fetchurl url
    else
      pkgs.fetchurl { inherit url sha256; });

  fromToolchainName = target: name: sha256:
    mapNullable
      (matches:
        let target' = elemAt matches 4; in
        toolchainOf' (if target' == null then target else target') {
          inherit sha256;
          channel = elemAt matches 0;
          date = elemAt matches 2;
        })
      (match
        "^(stable|beta|nightly|[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+)(-([[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}))?(-([-[:alnum:]]+))?\n?$"
        name);

  fromToolchainFile' = target:
    { file ? null, dir ? null, sha256 ? null }:
    let
      text = readFile (if file == null && dir != null then
        findFirst pathIsRegularFile
          (throw "No rust toolchain file found in ${dir}")
          [ (dir + "/rust-toolchain") (dir + "/rust-toolchain.toml") ]
      else if file != null && dir == null then
        file
      else
        throw "One and only one of `file` and `dir` should be specified");
      toolchain = fromToolchainName target text sha256;
    in
    if toolchain == null then
      let t = (fromTOML text).toolchain; in
      if t ? path then
        throw "fenix doesn't support toolchain.path"
      else
        let toolchain = fromToolchainName target t.channel sha256; in
        combine' "rust-${t.channel}" (attrVals
          (filter (component: toolchain ? ${component}) (unique
            (toolchain.manifest.profiles.${t.profile or "default"}
              ++ t.components or [ ])))
          toolchain ++ map
          (target:
            (fromManifest' target "-${t.channel}" toolchain.manifest).rust-std)
          (t.targets or [ ]))
    else
      toolchain.defaultToolchain;

  mkToolchains = channel:
    let manifest = importJSON (./data + "/${channel}.json"); in
    mapAttrs
      (target: _: { ${channel} = fromManifest' target "-${channel}" manifest; })
      manifest.pkg.rust-std.target;
in

nightlyToolchains.${v} // rec {
  combine = combine' "rust-mixed";

  fromManifest = fromManifest' v "";

  fromManifestFile = fromManifestFile' v "";

  toolchainOf = toolchainOf' v;

  fromToolchainFile = fromToolchainFile' v;

  stable = fromManifest' v "-stable" (importJSON ./data/stable.json);

  beta = fromManifest' v "-beta" (importJSON ./data/beta.json);

  targets = let collectedTargets = zipAttrsWith (_: foldl (x: y: x // y) { }) [
    (mkToolchains "stable")
    (mkToolchains "beta")
    nightlyToolchains
  ]; in
    mapAttrs
      (target: v:
        v // {
          fromManifest = fromManifest' target "";
          fromManifestFile = fromManifestFile' target "";
          toolchainOf = toolchainOf' target;
          fromToolchainFile = fromToolchainFile' target;
        })
      collectedTargets;

  rust-analyzer = (pkgs.makeRustPlatform {
    inherit (nightlyToolchains.${v}.minimal) cargo rustc;
  }).buildRustPackage {
    pname = "rust-analyzer-nightly";
    version = rust-analyzer-rev;
    src = rust-analyzer-src;
    cargoLock.lockFile = rust-analyzer-src + "/Cargo.lock";
    cargoBuildFlags = [ "-p" "rust-analyzer" ];
    buildInputs = with pkgs;
      optionals stdenv.isDarwin [
        darwin.apple_sdk.frameworks.CoreServices
        libiconv
      ];
    doCheck = false;
    CARGO_INCREMENTAL = 0;
    RUST_ANALYZER_REV = rust-analyzer-rev;
    meta.mainProgram = "rust-analyzer";
  };

  rust-analyzer-vscode-extension = let setDefault = k: v: ''
    .contributes.configuration.properties."rust-analyzer.${k}".default = "${v}"
  ''; in
    pkgs.vscode-utils.buildVscodeExtension {
      name = "rust-analyzer-${rust-analyzer-rev}";
      src = ./data/rust-analyzer-vsix.zip;
      vscodeExtUniqueId = "matklad.rust-analyzer";
      buildInputs = with pkgs; [ jq moreutils ];
      patchPhase = ''
        jq -e '
          ${setDefault "server.path" "${rust-analyzer}/bin/rust-analyzer"}
          | ${setDefault "updates.channel" "nightly"}
        ' package.json | sponge package.json
      '';
    };
}

Best regards,
Alberto.

Well, that’s a copy of fenix’ default.nix. Looks like you’re maybe using a non-flake version of it somehow? Where and how do you import it?

As far I i find into my config the only place that fenix is set is on the flake.lock. more specifically is the input for alejandra formatter.

{
  "nodes": {
    "alejandra": {
      "inputs": {
        "fenix": "fenix",
        "flakeCompat": "flakeCompat",
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1660592437,
        "narHash": "sha256-xFumnivtVwu5fFBOrTxrv6fv3geHKF04RGP23EsDVaI=",
        "owner": "kamadorueda",
        "repo": "alejandra",
        "rev": "e7eac49074b70814b542fee987af2987dd0520b5",
        "type": "github"
      },
      "original": {
        "owner": "kamadorueda",
        "ref": "3.0.0",
        "repo": "alejandra",
        "type": "github"
      }
    },
    "autofirma-nix": {
      "inputs": {
        "flake-parts": "flake-parts",
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1704712373,
        "narHash": "sha256-HGpuEg8JuhLP1mzAt3+bpoI07M/f0EFIuZGQOg9vnkE=",
        "owner": "nilp0inter",
        "repo": "autofirma-nix",
        "rev": "3d06c81a00726ca5fd7b61f3a8c74a1755c7fafd",
        "type": "github"
      },
      "original": {
        "owner": "nilp0inter",
        "repo": "autofirma-nix",
        "type": "github"
      }
    },
    "fenix": {
      "inputs": {
        "nixpkgs": [
          "alejandra",
          "nixpkgs"
        ],
        "rust-analyzer-src": "rust-analyzer-src"
      },
      "locked": {
        "lastModified": 1657607339,
        "narHash": "sha256-HaqoAwlbVVZH2n4P3jN2FFPMpVuhxDy1poNOR7kzODc=",
        "owner": "nix-community",
        "repo": "fenix",
        "rev": "b814c83d9e6aa5a28d0cf356ecfdafb2505ad37d",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "fenix",
        "type": "github"
      }
    },
    "flake-compat": {
      "locked": {
        "lastModified": 1688025799,
        "narHash": "sha256-ktpB4dRtnksm9F5WawoIkEneh1nrEvuxb5lJFt1iOyw=",
        "owner": "nix-community",
        "repo": "flake-compat",
        "rev": "8bf105319d44f6b9f0d764efa4fdef9f1cc9ba1c",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "flake-compat",
        "type": "github"
      }
    },
    "flake-parts": {
      "inputs": {
        "nixpkgs-lib": "nixpkgs-lib"
      },
      "locked": {
        "lastModified": 1693611461,
        "narHash": "sha256-aPODl8vAgGQ0ZYFIRisxYG5MOGSkIczvu2Cd8Gb9+1Y=",
        "owner": "hercules-ci",
        "repo": "flake-parts",
        "rev": "7f53fdb7bdc5bb237da7fefef12d099e4fd611ca",
        "type": "github"
      },
      "original": {
        "owner": "hercules-ci",
        "repo": "flake-parts",
        "type": "github"
      }
    },
    "flake-parts_2": {
      "inputs": {
        "nixpkgs-lib": [
          "nixpkgs-wayland",
          "nix-eval-jobs",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1701473968,
        "narHash": "sha256-YcVE5emp1qQ8ieHUnxt1wCZCC3ZfAS+SRRWZ2TMda7E=",
        "owner": "hercules-ci",
        "repo": "flake-parts",
        "rev": "34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5",
        "type": "github"
      },
      "original": {
        "owner": "hercules-ci",
        "repo": "flake-parts",
        "type": "github"
      }
    },
    "flake-utils": {
      "inputs": {
        "systems": "systems_2"
      },
      "locked": {
        "lastModified": 1705309234,
        "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
        "owner": "numtide",
        "repo": "flake-utils",
        "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
        "type": "github"
      },
      "original": {
        "owner": "numtide",
        "repo": "flake-utils",
        "type": "github"
      }
    },
    "flakeCompat": {
      "flake": false,
      "locked": {
        "lastModified": 1650374568,
        "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
        "owner": "edolstra",
        "repo": "flake-compat",
        "rev": "b4a34015c698c7793d592d66adbab377907a2be8",
        "type": "github"
      },
      "original": {
        "owner": "edolstra",
        "repo": "flake-compat",
        "type": "github"
      }
    },
    "home-manager": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1702195668,
        "narHash": "sha256-Lxmjez0nfNBptdqV5GsXKm7Bb7swjGsrxiLxWJu0tL8=",
        "owner": "nix-community",
        "repo": "home-manager",
        "rev": "33110fb3c7fe6a94b98b641866a5eddb64b7c23f",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "ref": "release-23.05",
        "repo": "home-manager",
        "type": "github"
      }
    },
    "hyprland": {
      "inputs": {
        "hyprland-protocols": "hyprland-protocols",
        "hyprlang": "hyprlang",
        "nixpkgs": "nixpkgs",
        "systems": "systems",
        "wlroots": "wlroots",
        "xdph": "xdph"
      },
      "locked": {
        "lastModified": 1708513659,
        "narHash": "sha256-mw2dtBBMrkagWYbvrx/dZxa1M1X+rOdETsA4uB3zNws=",
        "owner": "hyprwm",
        "repo": "Hyprland",
        "rev": "ddf022d61c63fb36b4abba392682772690c06b5c",
        "type": "github"
      },
      "original": {
        "owner": "hyprwm",
        "repo": "Hyprland",
        "type": "github"
      }
    },
    "hyprland-protocols": {
      "inputs": {
        "nixpkgs": [
          "hyprland",
          "nixpkgs"
        ],
        "systems": [
          "hyprland",
          "systems"
        ]
      },
      "locked": {
        "lastModified": 1691753796,
        "narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=",
        "owner": "hyprwm",
        "repo": "hyprland-protocols",
        "rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03",
        "type": "github"
      },
      "original": {
        "owner": "hyprwm",
        "repo": "hyprland-protocols",
        "type": "github"
      }
    },
    "hyprlang": {
      "inputs": {
        "nixpkgs": [
          "hyprland",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1708005943,
        "narHash": "sha256-9TT3xk++LI5/SPYgjYX34xZ4ebR93c1uerIq+SE/ues=",
        "owner": "hyprwm",
        "repo": "hyprlang",
        "rev": "aeb3e012adc7b3235335c540b214b82267c2b983",
        "type": "github"
      },
      "original": {
        "owner": "hyprwm",
        "repo": "hyprlang",
        "type": "github"
      }
    },
    "hyprlang_2": {
      "inputs": {
        "nixpkgs": [
          "hyprland",
          "xdph",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1704287638,
        "narHash": "sha256-TuRXJGwtK440AXQNl5eiqmQqY4LZ/9+z/R7xC0ie3iA=",
        "owner": "hyprwm",
        "repo": "hyprlang",
        "rev": "6624f2bb66d4d27975766e81f77174adbe58ec97",
        "type": "github"
      },
      "original": {
        "owner": "hyprwm",
        "repo": "hyprlang",
        "type": "github"
      }
    },
    "hyprwm-contrib": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1706198673,
        "narHash": "sha256-bHlxFd+3QHy6eXtTzzhwVNcyxBSOxTvBuJGNUzI4C4M=",
        "owner": "hyprwm",
        "repo": "contrib",
        "rev": "16884001b26e6955ff4b88b4dfe4c8986e20f153",
        "type": "github"
      },
      "original": {
        "owner": "hyprwm",
        "repo": "contrib",
        "type": "github"
      }
    },
    "lib-aggregate": {
      "inputs": {
        "flake-utils": "flake-utils",
        "nixpkgs-lib": "nixpkgs-lib_2"
      },
      "locked": {
        "lastModified": 1708258113,
        "narHash": "sha256-SYqkbLHSe4UxgcNwUHrMPnRmX/oJFzRILrpyn5dsJVE=",
        "owner": "nix-community",
        "repo": "lib-aggregate",
        "rev": "42e4c0c8b04cecec07e796ce8efcb5378e93a319",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "lib-aggregate",
        "type": "github"
      }
    },
    "nix-eval-jobs": {
      "inputs": {
        "flake-parts": "flake-parts_2",
        "nix-github-actions": "nix-github-actions",
        "nixpkgs": "nixpkgs_3",
        "treefmt-nix": "treefmt-nix"
      },
      "locked": {
        "lastModified": 1705242886,
        "narHash": "sha256-TLj334vRwFtSym3m+NnKcNCnKKPNoTC/TDZL40vmOso=",
        "owner": "nix-community",
        "repo": "nix-eval-jobs",
        "rev": "6b03a93296faf174b97546fd573c8b379f523a8d",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "nix-eval-jobs",
        "type": "github"
      }
    },
    "nix-github-actions": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs-wayland",
          "nix-eval-jobs",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1701208414,
        "narHash": "sha256-xrQ0FyhwTZK6BwKhahIkUVZhMNk21IEI1nUcWSONtpo=",
        "owner": "nix-community",
        "repo": "nix-github-actions",
        "rev": "93e39cc1a087d65bcf7a132e75a650c44dd2b734",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "nix-github-actions",
        "type": "github"
      }
    },
    "nixos-hardware": {
      "locked": {
        "lastModified": 1708091350,
        "narHash": "sha256-o28BJYi68qqvHipT7V2jkWxDiMS1LF9nxUsou+eFUPQ=",
        "owner": "nixos",
        "repo": "nixos-hardware",
        "rev": "106d3fec43bcea19cb2e061ca02531d54b542ce3",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "repo": "nixos-hardware",
        "type": "github"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1707546158,
        "narHash": "sha256-nYYJTpzfPMDxI8mzhQsYjIUX+grorqjKEU9Np6Xwy/0=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "d934204a0f8d9198e1e4515dd6fec76a139c87f0",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs-lib": {
      "locked": {
        "dir": "lib",
        "lastModified": 1693471703,
        "narHash": "sha256-0l03ZBL8P1P6z8MaSDS/MvuU8E75rVxe5eE1N6gxeTo=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "3e52e76b70d5508f3cec70b882a29199f4d1ee85",
        "type": "github"
      },
      "original": {
        "dir": "lib",
        "owner": "NixOS",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs-lib_2": {
      "locked": {
        "lastModified": 1708217146,
        "narHash": "sha256-nGfEv7k78slqIR5E0zzWSx214d/4/ZPKDkObLJqVLVw=",
        "owner": "nix-community",
        "repo": "nixpkgs.lib",
        "rev": "e623008d8a46517470e6365505f1a3ce171fa46a",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "nixpkgs.lib",
        "type": "github"
      }
    },
    "nixpkgs-unstable": {
      "locked": {
        "lastModified": 1708296515,
        "narHash": "sha256-FyF489fYNAUy7b6dkYV6rGPyzp+4tThhr80KNAaF/yY=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "b98a4e1746acceb92c509bc496ef3d0e5ad8d4aa",
        "type": "github"
      },
      "original": {
        "id": "nixpkgs",
        "ref": "nixos-unstable",
        "type": "indirect"
      }
    },
    "nixpkgs-wayland": {
      "inputs": {
        "flake-compat": "flake-compat",
        "lib-aggregate": "lib-aggregate",
        "nix-eval-jobs": "nix-eval-jobs",
        "nixpkgs": "nixpkgs_4"
      },
      "locked": {
        "lastModified": 1708457584,
        "narHash": "sha256-bcu7zHORoF+xtkmiRZR/Ipu9ZMR8CBg0m/gQmDEYcW8=",
        "owner": "nix-community",
        "repo": "nixpkgs-wayland",
        "rev": "119087e7a51a320b699d97463f837b75dd5768fc",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "nixpkgs-wayland",
        "type": "github"
      }
    },
    "nixpkgs_2": {
      "locked": {
        "lastModified": 1704290814,
        "narHash": "sha256-LWvKHp7kGxk/GEtlrGYV68qIvPHkU9iToomNFGagixU=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "70bdadeb94ffc8806c0570eb5c2695ad29f0e421",
        "type": "github"
      },
      "original": {
        "id": "nixpkgs",
        "ref": "nixos-23.05",
        "type": "indirect"
      }
    },
    "nixpkgs_3": {
      "locked": {
        "lastModified": 1703134684,
        "narHash": "sha256-SQmng1EnBFLzS7WSRyPM9HgmZP2kLJcPAz+Ug/nug6o=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "d6863cbcbbb80e71cecfc03356db1cda38919523",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixpkgs-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs_4": {
      "locked": {
        "lastModified": 1708296515,
        "narHash": "sha256-FyF489fYNAUy7b6dkYV6rGPyzp+4tThhr80KNAaF/yY=",
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "b98a4e1746acceb92c509bc496ef3d0e5ad8d4aa",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "alejandra": "alejandra",
        "autofirma-nix": "autofirma-nix",
        "home-manager": "home-manager",
        "hyprland": "hyprland",
        "hyprwm-contrib": "hyprwm-contrib",
        "nixos-hardware": "nixos-hardware",
        "nixpkgs": "nixpkgs_2",
        "nixpkgs-unstable": "nixpkgs-unstable",
        "nixpkgs-wayland": "nixpkgs-wayland"
      }
    },
    "rust-analyzer-src": {
      "flake": false,
      "locked": {
        "lastModified": 1657557289,
        "narHash": "sha256-PRW+nUwuqNTRAEa83SfX+7g+g8nQ+2MMbasQ9nt6+UM=",
        "owner": "rust-lang",
        "repo": "rust-analyzer",
        "rev": "caf23f29144b371035b864a1017dbc32573ad56d",
        "type": "github"
      },
      "original": {
        "owner": "rust-lang",
        "ref": "nightly",
        "repo": "rust-analyzer",
        "type": "github"
      }
    },
    "systems": {
      "locked": {
        "lastModified": 1689347949,
        "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
        "owner": "nix-systems",
        "repo": "default-linux",
        "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
        "type": "github"
      },
      "original": {
        "owner": "nix-systems",
        "repo": "default-linux",
        "type": "github"
      }
    },
    "systems_2": {
      "locked": {
        "lastModified": 1681028828,
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
        "owner": "nix-systems",
        "repo": "default",
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
        "type": "github"
      },
      "original": {
        "owner": "nix-systems",
        "repo": "default",
        "type": "github"
      }
    },
    "treefmt-nix": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs-wayland",
          "nix-eval-jobs",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1702979157,
        "narHash": "sha256-RnFBbLbpqtn4AoJGXKevQMCGhra4h6G2MPcuTSZZQ+g=",
        "owner": "numtide",
        "repo": "treefmt-nix",
        "rev": "2961375283668d867e64129c22af532de8e77734",
        "type": "github"
      },
      "original": {
        "owner": "numtide",
        "repo": "treefmt-nix",
        "type": "github"
      }
    },
    "wlroots": {
      "flake": false,
      "locked": {
        "host": "gitlab.freedesktop.org",
        "lastModified": 1706359063,
        "narHash": "sha256-5HUTG0p+nCJv3cn73AmFHRZdfRV5AD5N43g8xAePSKM=",
        "owner": "wlroots",
        "repo": "wlroots",
        "rev": "00b869c1a96f300a8f25da95d624524895e0ddf2",
        "type": "gitlab"
      },
      "original": {
        "host": "gitlab.freedesktop.org",
        "owner": "wlroots",
        "repo": "wlroots",
        "rev": "00b869c1a96f300a8f25da95d624524895e0ddf2",
        "type": "gitlab"
      }
    },
    "xdph": {
      "inputs": {
        "hyprland-protocols": [
          "hyprland",
          "hyprland-protocols"
        ],
        "hyprlang": "hyprlang_2",
        "nixpkgs": [
          "hyprland",
          "nixpkgs"
        ],
        "systems": [
          "hyprland",
          "systems"
        ]
      },
      "locked": {
        "lastModified": 1706521509,
        "narHash": "sha256-AInZ50acOJ3wzUwGzNr1TmxGTMx+8j6oSTzz4E7Vbp8=",
        "owner": "hyprwm",
        "repo": "xdg-desktop-portal-hyprland",
        "rev": "c06fd88b3da492b8f9067be021b9184f7012b5a8",
        "type": "github"
      },
      "original": {
        "owner": "hyprwm",
        "repo": "xdg-desktop-portal-hyprland",
        "type": "github"
      }
    }
  },
  "root": "root",
  "version": 7
}

alejandra does not evaluate that part of the code, you must be overlooking something. Do you have your config on GitHub or some other public forge?

This is the repo.