mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
nix: Get Rust version from rust-toolchain
This commit is contained in:
parent
3bf4290802
commit
d48b58a9a2
@ -40,13 +40,7 @@
|
|||||||
|
|
||||||
overlays = [ rust-overlay.overlays.default ];
|
overlays = [ rust-overlay.overlays.default ];
|
||||||
};
|
};
|
||||||
rust-bin = pkgs.rust-bin.nightly."2026-05-24".default.override {
|
rust-bin = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
||||||
extensions = [
|
|
||||||
"rust-analyzer"
|
|
||||||
"rust-src"
|
|
||||||
];
|
|
||||||
targets = [ "x86_64-unknown-redox" ];
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
formatter = pkgs.nixfmt-rfc-style;
|
formatter = pkgs.nixfmt-rfc-style;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user