Topgrade panics when trying to update nix packages on a pre-release version of nix #956
Open
2 of 4 tasks
Labels
C-bug
Something isn't working
Erroneous Behavior
Topgrade panics when trying to update nix packages on a pre-release version of nix (in this case
2.25.0pre20240920_ca3fc169
) with the following message:Expected Behavior
Topgrade should parse the version string with the pre(..) suffix and update the packages.
Steps to reproduce
Possible Cause (Optional)
The nix --version parser passes a version string with the pre(...) suffix to Version::parse, but it needs a x.x.x-pre(...) syntax to parse properly (according to Version::parse documentation)
Problem persists without calling from topgrade
Did you run topgrade through
Remote Execution
Additional Details
Debian 12 Bookworm
Nix package manager
topgrade -V
)16.0.0
Verbose Output (
topgrade -v
)The text was updated successfully, but these errors were encountered: