toolchain.toml >> rust-toolchain.toml

This commit is contained in:
Reid 2025-01-14 16:25:34 -08:00
parent 32ad5c726b
commit 1ec0b30896
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@
overlays = [rust-overlay.overlays.default];
};
package = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package;
toolchain = pkgs.rust-bin.fromRustupToolchainFile ./toolchain.toml;
toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
rustPlatform = pkgs.makeRustPlatform {
cargo = toolchain;
rustc = toolchain;
@ -30,8 +30,8 @@
# uncomment this and let the build fail, then get the current hash
# very scuffed but endorsed!
#cargoSha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
cargoSha256 = "sha256-KOMEvg3iGjmMEFxsrIqD4SaDw63ojiNNNqCfzRlbYLw=";
#cargoHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
cargoHash = "sha256-KOMEvg3iGjmMEFxsrIqD4SaDw63ojiNNNqCfzRlbYLw=";
nativeBuildInputs = with pkgs; [ pkg-config ];