Summary
After the latest commit (9a915616), forgecode requires rustc 1.95 to build, but nixpkgs-unstable currently ships rustc 1.94.0 (and 1.93.0 in the build sandbox). This breaks builds for anyone consuming forgecode as a flake input via nixpkgs.
Error
error: rustc 1.93.0 is not supported by the following packages:
forge_api@0.1.0 requires rustc 1.95
forge_app@0.1.0 requires rustc 1.95
forge_config@0.1.0 requires rustc 1.95
... (all forge crates)
Steps to reproduce
- Add
github:tailcallhq/forgecode as a flake input
- Reference
inputs.forgecode.packages.${system}.forge in a NixOS config
- Build with
nix build — fails because the nixpkgs rust toolchain is 1.94
Alternatively,
nix run github:tailcallhq/forgecode
Workaround
Pinning to the previous commit works:
nix flake lock --override-input forgecode github:tailcallhq/forgecode/3c2883f476c968ab714a3d7a80e1e9f4db8511cc
Request
Either:
- Provide pre-built binaries via the flake (so consumers don't need to build from source), or
- Lower the MSRV back to 1.94 until nixpkgs catches up, or
- Document the rustc version requirement prominently
Thanks!
(written with assistance from glm-5.1)
Summary
After the latest commit (
9a915616), forgecode requires rustc 1.95 to build, but nixpkgs-unstable currently ships rustc 1.94.0 (and 1.93.0 in the build sandbox). This breaks builds for anyone consuming forgecode as a flake input via nixpkgs.Error
Steps to reproduce
github:tailcallhq/forgecodeas a flake inputinputs.forgecode.packages.${system}.forgein a NixOS confignix build— fails because the nixpkgs rust toolchain is 1.94Alternatively,
nix run github:tailcallhq/forgecodeWorkaround
Pinning to the previous commit works:
Request
Either:
Thanks!
(written with assistance from glm-5.1)