Closed develop7 closed 2 years ago
I think that broke because #290 changed the minimum supported Rust version from 1.58 to 1.60. I don't know how Nix works, but is it possible to upgrade your Rust toolchain to 1.60 or does the message above inherently mean that there's a bug in jj's Nix package definition?
My guess would be to run nix flake update
and commit the updated flake.lock
file. The nixpkgs got rustc 1.60 already so that should do it.
Ah, thanks! I looked at that file but didn't see any mention of Rust, so I figured the Rust version was set somewhere else. Turns out it was the whole nixpkgs version that needed to be bumped (which makes sense now that I think about, even with the little I know about Nix). I've sent a fix in #300. I'll also update our CI to use the lock file (it currently overrides nixpkgs for some reason).
Oh, if you want a workaround until that gets merged, I suppose you can pass --override-input nixpkgs github:NixOS/nixpkgs
like our CI did.
Description
Steps to Reproduce the Problem
nix profile install 'github:martinvonz/jj'
Expected Behavior
It is installed successfully
Actual Behavior
Specifications