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:
Raito Bezarius
2024-06-09 18:52:46 +02:00
parent 3c179579c5
commit 97bbd80c1d

View File

@@ -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;
}