lix-doc: support path src instead of attribute src

If you pass `src = ./.;`, this should work.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-06-09 18:53:21 +02:00
parent 97bbd80c1d
commit f6c8f4adf6

View File

@ -8,6 +8,6 @@
rustPlatform.buildRustPackage {
pname = "lix-doc";
sourceRoot = "${src.name}/lix-doc";
sourceRoot = "${src.name or src}/lix-doc";
inherit version src cargoHash cargoLock;
}