[BUG] nix flake check fails: stack overflow in module system evaluation #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
nix flake check --no-buildfails with a stack overflow:Individual
.nixfiles parse cleanly withnix-instantiate --parse. A fullnixos-rebuild switchhas not been tested yet — this may work differently.What works
nix-instantiate --parseon all individual .nix files — all passnix flake metadata— succeedsSuspected causes (not yet verified)
stylix.cursor—modules/core/stylix.nixsetscursor.package = pkgs.bibata-cursors. If bibata-cursors is not in nixos-unstable or has a broken derivation, could trigger deep evaluation loops.noctalia-shell.nixosModules.default— may have a recursion issue with the current NixOS module structure.home-manager.userswith complex multi-source imports — imports bothnoctalia-shell.homeManagerModules.defaultandlazyvim.homeManagerModules.defaultalongside NixOS modules.dconf.settingswith empty-string overrides — GNOME dconf block usesclose = [ "" ];for disabled shortcuts.programs.hyprland.settings.bind— the Hyprland bind list may have an evaluation issue.Errors already fixed
lib.stylix.withMouseCursor/lib.stylix.withPolarity— removed (not real stylix options)btalias inshells.nix— fixed (second changed toblu)services.displayManager.dms-greeter— removed (not in nixpkgs)// ──comment syntax — fixed (changed to# ──)Test to run
Status
Open — needs rebuild test on Toyoko to isolate which cause.