toolchain.toml >> rust-toolchain.toml
This commit is contained in:
parent
32ad5c726b
commit
1ec0b30896
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
||||||
overlays = [rust-overlay.overlays.default];
|
overlays = [rust-overlay.overlays.default];
|
||||||
};
|
};
|
||||||
package = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package;
|
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 {
|
rustPlatform = pkgs.makeRustPlatform {
|
||||||
cargo = toolchain;
|
cargo = toolchain;
|
||||||
rustc = toolchain;
|
rustc = toolchain;
|
||||||
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
# uncomment this and let the build fail, then get the current hash
|
# uncomment this and let the build fail, then get the current hash
|
||||||
# very scuffed but endorsed!
|
# very scuffed but endorsed!
|
||||||
#cargoSha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
#cargoHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||||
cargoSha256 = "sha256-KOMEvg3iGjmMEFxsrIqD4SaDw63ojiNNNqCfzRlbYLw=";
|
cargoHash = "sha256-KOMEvg3iGjmMEFxsrIqD4SaDw63ojiNNNqCfzRlbYLw=";
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue