replace nix upgrade-nix
#10
Loading…
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-nix
should 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-env
CLI, which is infamously yucky. Here are a few concerns I have:nix-env --query --installed -A nix
, but uninstalls it withnix-env --uninstall nix
;--uninstall
can't be used with-A
, and-A
is 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-installer
tarball, so upgrade would require manually downloading a new tarball, which is yucky until #13 is fixedlix-installer
releng to push out newer versions with installation fixes, and ideally, teachlix-installer
to update itself, to be more sure that it will work fine