Skip to content

Commit

Permalink
fix: toolchain from toml config file
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Jan 23, 2024
1 parent 69f418f commit 3633a30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ in
...
}: let
# fenix: rustup replacement for reproducible builds
toolchain = fenix.${system}.minimal.toolchain;
# toolchain = fenix.${system}.fromToolchainFile { dir = ./..; };
toolchain = fenix.${system}.fromToolchainFile {
file = ./../rust-toolchain.toml;
sha256 = "sha256-U2yfueFohJHjif7anmJB5vZbpP7G6bICH4ZsjtufRoU=";
};
# 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 3633a30

Please sign in to comment.