Use oxalica's rust-overlay #110

Merged
sb10q merged 1 commits from atse/thermostat:rust-overlay into master 2024-06-27 13:19:15 +08:00
Contributor

Follow ARTIQ, and in this project lets us include the version number directly in flake.nix instead of linking to the toml file of a specific release date, as we use stable Rust.

Also, from nixpkgs manual:

... both oxalica's overlay and fenix better integrate with nix and cache optimizations. Because of this and ergonomics, either of those community projects should be preferred to the Mozilla's Rust overlay (nixpkgs-mozilla).

[Follow ARTIQ](https://github.com/m-labs/artiq/pull/2445), and in this project lets us include the version number directly in flake.nix instead of linking to the toml file of a specific release date, as we use stable Rust. Also, from [nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#using-community-maintained-rust-toolchains): > ... both oxalica's overlay and fenix better integrate with nix and cache optimizations. Because of this and ergonomics, either of those community projects should be preferred to the Mozilla's Rust overlay (nixpkgs-mozilla).
atse added 1 commit 2024-06-27 13:05:52 +08:00
44e9130010 Use oxalica's rust-overlay
Follow ARTIQ, and in this project lets us include the version number
directly in flake.nix instead of linking to the toml file of a specific
release date, as we use stable Rust.

Also, from nixpkgs manual:
    both oxalica's overlay and fenix better integrate with nix and cache
    optimizations. Because of this and ergonomics, either of those
    community projects should be preferred to the Mozilla's Rust overlay
    (nixpkgs-mozilla).
Author
Contributor

This probably won't break nix build like the one in ARTIQ did; that used nightly Rust and the date was off-by-one, while this uses a version number directly.

This probably won't break nix build like the one in ARTIQ did; that used nightly Rust and the date was off-by-one, while this uses a version number directly.
sb10q merged commit 44e9130010 into master 2024-06-27 13:19:15 +08:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/thermostat#110
No description provided.