mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
lix-doc: support cargoLock as well
This makes it easy to override it with a handy Cargo.lock. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
src,
|
||||
rustPlatform,
|
||||
version,
|
||||
cargoHash,
|
||||
cargoHash ? null,
|
||||
cargoLock ? null
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "lix-doc";
|
||||
sourceRoot = "${src.name}/lix-doc";
|
||||
inherit version src cargoHash;
|
||||
inherit version src cargoHash cargoLock;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user