mirror of
https://github.com/zhaofengli/attic.git
synced 2025-03-05 08:17:05 +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
|
SystemConfiguration
|
||||||
]);
|
]);
|
||||||
|
|
||||||
cargoHash = "sha256-FpA7dbK/3+cW53bSP27ylxBZSIUzBNXpuEBz4mJNZ8g=";
|
cargoLock = {
|
||||||
|
lockFile = ./Cargo.lock;
|
||||||
|
allowBuiltinFetchGit = true;
|
||||||
|
};
|
||||||
cargoBuildFlags = lib.concatMapStrings (c: "-p ${c} ") crates;
|
cargoBuildFlags = lib.concatMapStrings (c: "-p ${c} ") crates;
|
||||||
|
|
||||||
ATTIC_DISTRIBUTOR = "attic";
|
ATTIC_DISTRIBUTOR = "attic";
|
||||||
|
|
Loading…
Add table
Reference in a new issue