fix: use toolchain file
This commit is contained in:
parent
ed51574014
commit
2c86f02932
1 changed files with 4 additions and 3 deletions
|
@ -37,9 +37,10 @@
|
|||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
fenix' = (import fenix { inherit system pkgs; });
|
||||
toolchain = fenix'.complete.withComponents (
|
||||
(builtins.fromTOML (builtins.readFile ./rust-toolchain.toml)).toolchain.components
|
||||
);
|
||||
toolchain = fenix'.fromToolchainFile {
|
||||
file = ./rust-toolchain.toml;
|
||||
sha256 = "sha256-opUgs6ckUQCyDxcB9Wy51pqhd0MPGHUVbwRKKPGiwZU=";
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit pkgs toolchain;
|
||||
|
|
Loading…
Reference in a new issue