Skip to content

Commit

Permalink
fix: simplify Rust toolchain setup to avoid manual hash updates
Browse files Browse the repository at this point in the history
  • Loading branch information
krovuxdev committed Sep 1, 2024
1 parent 54ed230 commit efcf3fd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ in
}:
let
# fenix: rustup replacement for reproducible builds
toolchain = fenix.${system}.fromToolchainFile {
file = ./rust-toolchain.toml;
sha256 = "sha256-6eN/GKzjVSjEhGO9FhWObkRFaE1Jf+uqMSdQnb8lcB4=";
};
toolchain = fenix.${system}.stable.minimalToolchain;
# crane: cargo and artifacts manager
craneLib = crane.${system}.overrideToolchain toolchain;
# cranix: extends crane building system with workspace bin building and Mold + Cranelift integrations
Expand Down

0 comments on commit efcf3fd

Please sign in to comment.