I’m just now realizing
nix-env -u '*' is updating every individual package. I was about to say that wasn’t what I wanted to do, since the bug causes
nix-env -qa --json to fail and I thought nix-env itself needed to be updated.
But the bug is gone now! So there must be something interestingly recursive about nix-env I don’t understand.
As a slight downside, I’m now getting the following warning with every command, even though I’m only subscribed to one channel now
warning: name collision in input Nix expressions, skipping '/Users/jeffhykin/.nix-defexpr/channels_root/nixpkgs'
Looks like it has something to do with this,
/Users/jeffhykin/.nix-defexpr/channels_root/nixpkgs@ -> /nix/store/kkym0q1g9cy7hxxdng2ivwlyv530mgqk-nixpkgs-20.09pre234801.1facbd61b17/nixpkgs
Probably from when I added the nixos channel. I’m not sure the best way to delete/remove it