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:
parent
e8f9f3c04b
commit
4f597e62e2
1 changed files with 4 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue