News for hackers. Stuff that matters.
Re:Nix: An idea whose time has come by huijzer on Saturday February 19, 2022 @03:16AM (#30395332)
I once spend 2 hours on trying to get a newer version of nodejs on my system. Turned out that I had used nix-env a while back to install it and that had priority over the rebuild-switch :| So, I agree. Very risky way of managing nix
Re:Nix: An idea whose time has come by kreetx on Saturday February 19, 2022 @03:32AM (#30395408)
nix-env has been easier to use for a new use compared to having a configuration.nix, using home-manager etc, but once you start using any of the latter then just remove everything installed with nix-env (and use nix-shell for one-offs).
Re:Nix: An idea whose time has come by _andrei_ on Saturday February 19, 2022 @03:44AM (#30395472)

  nix-env -e "*" # remove all packages