Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust version support changes #6

Merged
merged 2 commits into from
May 8, 2023
Merged

Rust version support changes #6

merged 2 commits into from
May 8, 2023

Conversation

vlaci
Copy link
Contributor

@vlaci vlaci commented May 8, 2023

Rust 1.65 has been released in last November and is in use for pyperscan
already, where that version is a hard requirement. It reduces the mental overhead, if we are working with the same versions.

vlaci added 2 commits May 8, 2023 18:07
Fenix uses a technique, called import from derivation, to acquire
details for a rust toolchain version: It looks-up the version number,
than downloads a manifest file, and build nix expressions from that
which will be imported at the end.

Nix flake check trips on IFD, with error messages like

> a 'aarch64-darwin' with features {} is required to build
'/nix/store/...', but I am a 'x86_64-linux' with features {}

Rust-overlay on the other hand ships with toolchain manifests, not
requiring IFD (but it is larger in size).

This problem is hidden at this moment, as the manifest from Rust 1.60
leaks into the nix store somehow on the builders.
It has been released in last November and is in use for `pyperscan`
already, where that version is a hard requirement.
@vlaci vlaci merged commit de02d9a into main May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants