Add "latest release" branch #39
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?
I would like to be able to update my Lix with just
nix flake update
, and not changing version in flake.nix manually. Currently, I have to use main branch and daily drive dev version for this.I just had to reinstall the entire system, because dev version had some problems with checking if path existed in the store, and
--repair
justrm -rf
ed my system derivation...But at least all data is safe and everything works fine after updating
EDIT: this is the fix
8e05cc1e6c
I noticed that if I rerun
nixos-rebuild
with--repair
flag, it would fix the errors sometimes. So I didwhile ! sudo nixos-rebuild ...; do; end
(basically rerun command until it successes) and left it for the entire day. Next time I checked, there wasn'tnixos-system-perchun-pc-24.11.20241012.476bcb4
derivation in the store.Anyway, I would like to use the stable version with auto updates
BTW this is not hard to implement at all. Just whenever a new release comes out, do
git reset --hard vX.Y.Z && git push -f
"not hard to implement", obviously, yes, but we have a releng system for lix itself and a particular way that everything works and that writing a separate releng for this would maybe not be so smart. it's not hard, it's that the wider task is more complex.
and in fact, git push -f is not necessarily the right way to implement this if you want e.g. history of which release tag it pointed to. fixing this (adding a new requirement) properly in a way that does not add more stuff to be fixed up later when we clean up releng is a little more complicated.