hi everyone! ![]()
i use flakes, that means i dont need nix.channel.enable, right..? channels =/= flakes, yeah..?
well, there is a .nix-profile file and a .nix-defexpr folder that randomly (re)appear (after deletion) in my $HOME with (empty) channels and (full) channels_root subfolders in it that are also seem to be dead symlinks. there are also these warnings i get on every update (with the option above set to false):
warning: /root/.nix-defexpr/channels exists, but channels have been disabled.
warning: /nix/var/nix/profiles/per-user/root/channels exists, but channels have been disabled.
warning: /root/.nix-defexpr/channels exists, but channels have been disabled.
Due to https://github.com/NixOS/nix/issues/9574, Nix may still use these channels when NIX_PATH is unset.
Delete the above directory or directories to prevent this.
my $NIX_PATH is nixpkgs=flake:nixpkgs, which was automatically set (?). is it okay to delete those (aforementioned) directories..? or should i just not touch that option..? these warnings dont happen without the option. also, was i supposed to disable that option immediately (after switching to flakes), cos i forgot, so its a problem now..?
okay, this known issue was closed. but it is still not clear to me - is this a normal, expected behaviour in the form of a warning, then..? meaning it wasnt solved, actually..? which then means that i do have to delete those lingering directories, right..?
thanks!!!
P.S. sorry if i missed something obvious… im not good at understanding htings… ![]()