From 0497fe5369e851fe94ec8a62c6a79e70f3da3472 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 10 Jan 2025 15:59:39 +0100 Subject: [PATCH] Use charon's pinned rust toolchain --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 7de309c4d..c007ad32f 100644 --- a/flake.nix +++ b/flake.nix @@ -60,7 +60,8 @@ FSTAR_REV = inputs.fstar.rev; }; - craneLib = inputs.crane.mkLib pkgs; + rustToolchain = inputs.charon.packages.${system}.rustToolchain; + craneLib = (inputs.crane.mkLib pkgs).overrideToolchain rustToolchain; ml-kem = pkgs.callPackage ({ lib