mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
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}";
|
||||
|
||||
}
|
||||
// lib.optionalAttrs document { documentationRoot = src; }
|
||||
// lib.optionalAttrs document { documentationRoot = "${src}"; }
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user