From ab699f86d3db1512285ea61fa2abed0a3b5e536f Mon Sep 17 00:00:00 2001 From: TornaxO7 Date: Thu, 30 May 2024 11:56:14 +0200 Subject: [PATCH] nix: add hash value for a dependency (#516) * nix: add hash value for a dependency * nix: reformat stuff * removing result file of `nix build` --- pkgRio.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgRio.nix b/pkgRio.nix index efcafc32ec..dd65660d47 100644 --- a/pkgRio.nix +++ b/pkgRio.nix @@ -60,7 +60,13 @@ in inherit (cargoToml.workspace.package) version; name = "rio"; src = ./.; - cargoLock.lockFile = ./Cargo.lock; + cargoLock = { + lockFile = ./Cargo.lock; + + outputHashes = { + "dpi-0.1.1" = "sha256-LoA66thPDtA9Q6QkSkQU1M2ekYM3kN1qFnGEJFojFPs="; + }; + }; cargoBuildFlags = "-p rioterm";