Skip to content

[workaround] nix build error: 'infinite recursion encountered' #127

@Ziqi-Yang

Description

@Ziqi-Yang

⬇️⬇️⬇️ Find the workaround for this issue in the comment below ⬇️⬇️⬇️

Command: sudo nixos-rebuild switch --show-trace
Here is the error text: https://paste.sr.ht/~meow_king/213fa6661d111fdb8df3f724ed221d81ced8845f


My configuration:

  imports = [
    ./centerpiece_config.nix
  ];

And here is the content of centerpiece_config.nix:

{ inputs, lib, config, pkgs, ...}:
{
  imports = [
    inputs.centerpiece.hmModules."x86_64-linux".default
  ];
  programs.centerpiece = {
    enable = true;
  };
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions