From 81306e93c68939e511f76c2092e1e13467511f4e Mon Sep 17 00:00:00 2001 From: b4mbus Date: Sun, 9 Jun 2024 00:48:41 +0200 Subject: [PATCH] ref(nix): make local path reproducible --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 0f88c93..b2e610c 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,10 @@ .buildRustPackage { pname = packageToml.name; inherit (packageToml) version; - src = ./.; + src = builtins.path { + path = ./.; + inherit (packageToml) name; + }; cargoLock.lockFile = ./Cargo.lock; buildInputs = buildDeps rust; dontUseCargoParallelTests = true;