replace nix upgrade-nix #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
nix upgrade-nixshould be removed and users should simply re-run the installer to update on non-NixOS/nix-darwinThere are a few small changes to apply on top of CL2075, particularly in regards to doing "update" on Lix, but I think we can do some initial hacky version pretty much in that CL.
But before that, I'd like to discuss something. The CL uses
nix-envCLI, which is infamously yucky. Here are a few concerns I have:nix-env --query --installed -A nix, but uninstalls it withnix-env --uninstall nix;--uninstallcan't be used with-A, and-Ais a pretty big difference. I don't think it actually matters here, but is there a cleaner way?nix-env --uninstall nix, thennix-env -i <lix-from-tarball>. This is kinda ugly and creates an extra profile for no reasonlix-installertarball, so upgrade would require manually downloading a new tarball, which is yucky until #13 is fixedlix-installerreleng to push out newer versions with installation fixes, and ideally, teachlix-installerto update itself, to be more sure that it will work fine