package.nix: Use cargoLock

This commit is contained in:
Zhaofeng Li 2023-01-14 23:55:10 -07:00
parent e8f9f3c04b
commit 4f597e62e2

View file

@ -42,7 +42,10 @@ in rustPlatform.buildRustPackage rec {
SystemConfiguration
]);
cargoHash = "sha256-FpA7dbK/3+cW53bSP27ylxBZSIUzBNXpuEBz4mJNZ8g=";
cargoLock = {
lockFile = ./Cargo.lock;
allowBuiltinFetchGit = true;
};
cargoBuildFlags = lib.concatMapStrings (c: "-p ${c} ") crates;
ATTIC_DISTRIBUTOR = "attic";