Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
753944a172 | ||
|
|
23c66f4df0 | ||
|
|
1898a6e05a | ||
|
|
247436669d | ||
|
|
fe0953923f |
@@ -1,4 +1,16 @@
|
|||||||
# Lix 2.95 "Kakigōri" (2026-03-13)
|
# Lix 2.95 "Kakigōri" (2026-03-13)
|
||||||
|
# Lix 2.95.3 (2026-05-08)
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- Fix upgrade-nix breaking its own access to the daemon [lix#1189](https://git.lix.systems/lix-project/lix/issues/1189) [lix#1207](https://git.lix.systems/lix-project/lix/issues/1207) [cl/5504](https://gerrit.lix.systems/c/lix/+/5504) [cl/5567](https://gerrit.lix.systems/c/lix/+/5567)
|
||||||
|
|
||||||
|
`nix upgrade-nix`, and the helper script `misc/upgrade-lix.sh` now pass `--store local` to all Nix commands, so the upgrade process can make changes to the daemon without breaking further steps in the upgrade.
|
||||||
|
|
||||||
|
Many thanks to [Qyriad](https://git.lix.systems/Qyriad) for this.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Lix 2.95.2 (2026-05-04)
|
# Lix 2.95.2 (2026-05-04)
|
||||||
## Fixes
|
## Fixes
|
||||||
|
|
||||||
|
|||||||
@@ -141,6 +141,8 @@ struct CmdUpgradeNix : MixDryRun, EvalCommand
|
|||||||
// install the new one, in case the new and old versions aren't considered
|
// install the new one, in case the new and old versions aren't considered
|
||||||
// to be "the same package" by nix-env's logic (e.g., if their pnames differ).
|
// to be "the same package" by nix-env's logic (e.g., if their pnames differ).
|
||||||
Strings removeArgs = {
|
Strings removeArgs = {
|
||||||
|
"--store",
|
||||||
|
"local",
|
||||||
"--uninstall",
|
"--uninstall",
|
||||||
oldNixEnv,
|
oldNixEnv,
|
||||||
"--profile",
|
"--profile",
|
||||||
@@ -150,6 +152,8 @@ struct CmdUpgradeNix : MixDryRun, EvalCommand
|
|||||||
aio().blockOn(runProgram(newNixEnv, false, removeArgs));
|
aio().blockOn(runProgram(newNixEnv, false, removeArgs));
|
||||||
|
|
||||||
Strings upgradeArgs = {
|
Strings upgradeArgs = {
|
||||||
|
"--store",
|
||||||
|
"local",
|
||||||
"--profile",
|
"--profile",
|
||||||
this->profileDir,
|
this->profileDir,
|
||||||
"--install",
|
"--install",
|
||||||
|
|||||||
@@ -124,9 +124,12 @@ checkSystemdService
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
exec "$NIX" run \
|
exec "$NIX" run \
|
||||||
|
--store local \
|
||||||
--extra-experimental-features "nix-command flakes" \
|
--extra-experimental-features "nix-command flakes" \
|
||||||
"${SUBSTITUTER_ARGS[@]}" \
|
"${SUBSTITUTER_ARGS[@]}" \
|
||||||
"${LIX_BASE}?ref=${LIX_REF}" \
|
"${LIX_BASE}?ref=${LIX_REF}" \
|
||||||
|
-- \
|
||||||
|
--store local \
|
||||||
--extra-experimental-features "nix-command flakes" \
|
--extra-experimental-features "nix-command flakes" \
|
||||||
upgrade-nix \
|
upgrade-nix \
|
||||||
"${SUBSTITUTER_ARGS[@]}"
|
"${SUBSTITUTER_ARGS[@]}"
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "2.95.2",
|
"version": "2.95.3",
|
||||||
"official_release": true,
|
"official_release": true,
|
||||||
"release_name": "Kakigōri"
|
"release_name": "Kakigōri"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user