forked from nrabulinski/attic
package.nix: Use cargoLock
This commit is contained in:
parent
e8f9f3c04b
commit
4f597e62e2
|
@ -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