Skip to content

Commit 3d46f26

Browse files
committed
check: set minimum Lix version to 2.91.1; add comment
1 parent 136ed2e commit 3d46f26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/check.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ pub fn check_nix_version() -> Result<()> {
1414
let version = util::get_nix_version()?;
1515
let is_lix_binary = util::is_lix()?;
1616

17-
let min_version = if is_lix_binary { "2.91.0" } else { "2.26.1" };
17+
// Minimum supported versions. Those should generally correspond to
18+
// latest package versions in the stable branch
19+
let min_version = if is_lix_binary { "2.91.1" } else { "2.26.1" };
1820

1921
let current = Version::parse(&version)?;
2022
let required = Version::parse(min_version)?;

0 commit comments

Comments
 (0)