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:
Akshay Mankar 2022-03-02 00:34:21 +01:00 committed by GitHub
parent 676678f23f
commit f30dbd05fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,6 @@ lib.makePackageOverridable
code = "${src}/${file}";
}
// lib.optionalAttrs document { documentationRoot = src; }
// lib.optionalAttrs document { documentationRoot = "${src}"; }
)
)