ref(nix): make local path reproducible

This commit is contained in:
b4mbus
2024-06-09 00:48:41 +02:00
parent f90a9225e0
commit 81306e93c6

View File

@@ -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;