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-01 15:34:21 -08:00
committed by GitHub
parent 676678f23f
commit f30dbd05fe
@@ -24,7 +24,6 @@ lib.makePackageOverridable
code = "${src}/${file}";
}
// lib.optionalAttrs document { documentationRoot = src; }
// lib.optionalAttrs document { documentationRoot = "${src}"; }
)
)