Hayao0819 / dotfiles

Other
2 stars 0 forks source link

Error #1

Open Hayao0819 opened 1 week ago

Hayao0819 commented 1 week ago
[hayao@Inspiron5450:~]$ sudo nixos-rebuild switch --flake github:Hayao0819/dotfiles/nix#inspiron5490 --upgrade  --refresh
error:
       … while calling the 'seq' builtin

         at /nix/store/6dxvxz52z172kxdi97bw4grpkhzx4dx7-source/lib/modules.nix:322:18:

          321|         options = checked options;
          322|         config = checked (removeAttrs config [ "_module" ]);
             |                  ^
          323|         _module = checked (config._module);

       … while evaluating a branch condition

         at /nix/store/6dxvxz52z172kxdi97bw4grpkhzx4dx7-source/lib/modules.nix:261:9:

          260|       checkUnmatched =
          261|         if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
             |         ^
          262|           let

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: syntax error, unexpected end of file

       at /nix/store/6dxvxz52z172kxdi97bw4grpkhzx4dx7-source/pkgs/top-level/impure.nix:1:1:

            1|
             | ^
orzklv commented 1 week ago

--show-trace needed to see more detail

orzklv commented 1 week ago

you may run:

nix flake check --all-systems --show-trace