Fix installing rust@nightly
(#49098)
Installing `rust@nightly` fails because the package file declares a conflict of rust versions older than `:1.64` with `gcc>=13`. However, because `nightly` is alphanumerically smaller than any actual version number, `nightly` is incorrectly detected to have a conflict with `gcc>=13` as well. Marking `nightly` as an infinity version instead solves this.
This commit is contained in:
parent
1fa1864b37
commit
b304a2d854
@ -10,7 +10,7 @@
|
||||
COMMIT_VERSION = re.compile(r"^[a-f0-9]{40}$")
|
||||
|
||||
# Infinity-like versions. The order in the list implies the comparison rules
|
||||
infinity_versions = ["stable", "trunk", "head", "master", "main", "develop"]
|
||||
infinity_versions = ["stable", "nightly", "trunk", "head", "master", "main", "develop"]
|
||||
|
||||
iv_min_len = min(len(s) for s in infinity_versions)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user