1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

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