Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

The nix 0.30.1 → 0.31.1 bump introduced a type mismatch in readline.rs due to rustyline v17.0.2 depending on nix 0.30.1 while RustPython uses 0.31.1 directly.

Changes

  • Use rustyline from git (commit 7bbd279) which includes nix 0.31.1 support
    • Temporary until rustyline publishes a new release
    • Commit verified to contain nix 0.31 upgrade (Jan 23, 2026)
    • Added TODO comment for future maintainers

Type Conflict

// readline.rs line 149 - rustyline returns nix::errno::Errno from 0.30.1
Err(ReadlineError::Errno(num)) => ReadlineResult::OsError(num),
                                   // ^^^^^^^^^ expected nix 0.31.1, found 0.30.1

Git dependency resolves this by aligning both to nix 0.31.1.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Bump nix from 0.30.1 to 0.31.1 Complete nix 0.30.1 to 0.31.1 migration Jan 26, 2026
Copilot AI requested a review from youknowone January 26, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants