From 4cfcc75d5c76e17d1e32122822da4d5021e4599d 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..695e17d 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-0HINFWRiJx8pjMgUOL/CS336ih7SENSRh3Kah9LPRrw="; + "fatfs-0.3.6" = "sha256-Nz9hCq/1YgSXF8ltJ5ZawV0Hc8WV44KNK0tJdVnNb4U="; + }; + }; nativeBuildInputs = [ cargo-xbuild pkgs.llvmPackages_13.clang-unwrapped ]; buildPhase = ''