Closed ambroisie closed 1 year ago
Is nix-daemon running on both machines and is theNIX_DAEMON
env var equal? Also is ~/.config/nixpkgs/config.nix
/ ~/.nixpkgs/config.nix
equal?
Both computers have the nix daemon running, but NIX_DAEMON
is not set.
Neither ~/.config/nixpkgs/
nor ~/.nixpkgs/
exist on both computers.
Running nix-info -m
showed the following line for my user, for some unknown reason:
- channels(<me>): `""`
After running rm /nix/var/nix/profiles/per-user/<me>/channels*
, nix-index
started behaving correctly.
Still unsure why the channels situation ended up in this weird limbo state.
Closing this, as it looks to be a local configuration issue.
I have the following screenshot to showcase the problem:
On my laptop,
nix-index
bulds its database without any issues. However on my server it complains aboutexperimental-features
and then fails to evaluate the NixOS sources.I have checked that I have the same version of
nix
andnix-index
installed on both computers, and the same channels available (onlynixos
for theroot
user). In fact, I use the same flake configuration for both computers, so I am having trouble finding what could be causing the issue at this point.