cannot build helix with craneLibStable after MSRV bump #8940
Replies: 2 comments
-
That commit bumps the MSRV from 1.65 (not 1.69) to 1.70. I see rust-overlay currently locked at Lines 101 to 102 in b023faa which has 1.71 as the latest version: https://github.com/oxalica/rust-overlay/blob/f335a0213504c7e6481c359dc1009be9cf34432c/manifests/stable/default.nix#L64 The flake builds fine for me on master with just Doing So I don't see how the flake build is broken unless you aren't running master. Regardless I would approve a PR that updates the flake dependencies (since that updates other stuff like rust-analyzer too). |
Beta Was this translation helpful? Give feedback.
-
oops! I must have been thinking about the rust-overlay issue I was seeing. What's further VERY strange, is I can't reproduce my issue earlier. In my amp-jump branch is Pascal's PR rebased on master so that tree-sitter-gemini could build. There were no rebase conflicts, but I definitely was getting errors saying the current rustc was 1.69.0 but helix-dap (I think?) needed 1.70.0. And that eventually led me to check the flake.lock to see what rust-overlay version it was choosing for latest stable and I had c57e210faf68e5d5386f18f1b17ad8365d25e4ed from when helix last updated in May (and I have no other uses of rust-overlay in my system flake). I only then added the rust-overlay bump and then I could proceed. But now I can definitely build without that last version bump 🙃 I'll just close as this seems to not be reproducible somehow, which is really not what I've come to expect from nix |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I use this repository (or various PRs at times) as a flake input to use and test the latest helix on my system. The recent MSRV bump was from rustc 1.69.0 -> 1.70.0 in this commit, but because the rust-overlay input was not also updated, the
rust-bin.stable.latest
is still being tracked as 1.69.0, which breaks the nix build:helix/flake.nix
Line 125 in b023faa
Should
nix flake check
be added to CI? There are some decent caching tools now that shouldn't make it too slowReproduction Steps
No response
Helix log
No response
Platform
nix
Terminal Emulator
n/a
Installation Method
nix flake
Helix Version
b023faa
Beta Was this translation helpful? Give feedback.
All reactions