buildDhallDirectoryPackage: Stringify src for documentationRoot (#162401)
The `src` is supposed to be a path, but when `documentationRoot` is provided with a path, it errors with: generators.mkValueStringDefault: this value is not supported: "<nix-store-path>" Making it a string fixes this error.
This commit is contained in:
parent
676678f23f
commit
f30dbd05fe
|
@ -24,7 +24,6 @@ lib.makePackageOverridable
|
||||||
code = "${src}/${file}";
|
code = "${src}/${file}";
|
||||||
|
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs document { documentationRoot = src; }
|
// lib.optionalAttrs document { documentationRoot = "${src}"; }
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue