From d0d2872bf50cc8b28b8573a1332b582f72bdb344 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Mon, 16 Dec 2024 13:39:01 +0800 Subject: [PATCH] flake output hashes --- flake.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index fe82753..02bf378 100644 --- a/flake.nix +++ b/flake.nix @@ -105,7 +105,13 @@ src = builtins.filterSource (path: type: baseNameOf path != "target" ) ./.; - cargoLock = { lockFile = ./Cargo.lock; }; + cargoLock = { + lockFile = ./Cargo.lock; + outputHashes = { + "core_io-0.1.0" = "sha256-tepvvnkDTYDJ3uvuuSJISevYFkl802GHBHSwn1fXKJE="; + "fatfs-0.3.6" = "sha256-Z6iueATKemecxleUd5vzWMNq0PHS7hD422PXOiyDHUM="; + }; + }; nativeBuildInputs = [ cargo-xbuild pkgs.llvmPackages_13.clang-unwrapped ]; buildPhase = ''