From 264ce36286393af85d437b76a599aece7df5ed9a Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Sat, 6 Jul 2024 09:14:14 +0200 Subject: [PATCH] nix/backend: import cargo.lock directly --- nix/backend.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/backend.nix b/nix/backend.nix index b2c031e..c4e0fe2 100644 --- a/nix/backend.nix +++ b/nix/backend.nix @@ -10,7 +10,9 @@ rustPlatform.buildRustPackage rec { src = ../.; - cargoHash = "sha256-NRrWWD3e2zm4rVYyCPm3vQhPDRkVMauTnoENwRucXcw="; + cargoLock = { + lockFile = ../Cargo.lock; + }; meta = with lib; { platforms = lib.platforms.all;