diff options
author | Akshay Mankar <itsakshaymankar@gmail.com> | 2022-03-02 00:34:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 15:34:21 -0800 |
commit | f30dbd05fe0f81623758f35db600bf1a7ad407d7 (patch) | |
tree | b6b1aefe8e4392a4103c33e56f6e278ed14026a4 /pkgs/development/interpreters/dhall | |
parent | 676678f23fdf51a1965eb459a4a7dc9bdb78d259 (diff) |
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.
Diffstat (limited to 'pkgs/development/interpreters/dhall')
-rw-r--r-- | pkgs/development/interpreters/dhall/build-dhall-directory-package.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/dhall/build-dhall-directory-package.nix b/pkgs/development/interpreters/dhall/build-dhall-directory-package.nix index 7fe1b46e3a550..f7c730c927724 100644 --- a/pkgs/development/interpreters/dhall/build-dhall-directory-package.nix +++ b/pkgs/development/interpreters/dhall/build-dhall-directory-package.nix @@ -24,7 +24,6 @@ lib.makePackageOverridable code = "${src}/${file}"; } - // lib.optionalAttrs document { documentationRoot = src; } + // lib.optionalAttrs document { documentationRoot = "${src}"; } ) ) - |