Files
Tyce Herrman 53819b8cb0 lix: add update script for 2.95 releases
Extract version, source, and Cargo definitions consistently for 2.94,
2.95, and the development snapshot. Keep scope construction, patches,
and aliases in default.nix.

Isolate the 2.95 updater in its release file so replacing a shared Cargo
hash cannot modify the development snapshot. Restrict automated updates
to the 2.95 release series.

Assisted-by: Codex (gpt-5.6-sol)
Assisted-by: Codex (GPT-6)
2026-09-08 16:58:01 -04:00

22 lines
509 B
Nix

{
fetchFromGitea,
rustPlatform,
}:
rec {
version = "2.96.0-pre-20260408_${builtins.substring 0 12 src.rev}";
src = fetchFromGitea {
domain = "git.lix.systems";
owner = "lix-project";
repo = "lix";
rev = "bc9fb560ac2d36cd317a856ee96785ea2055fbff";
hash = "sha256-bONRPjhk5OZdnkQZexZNJzlvwIPg31Gy7fNiwGoX3BQ=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
name = "lix-${version}";
inherit src;
hash = "sha256-a5XtutX+NS4wOqxeqbscWZMs99teKick5+cQfbCRGxQ=";
};
}