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.
main
Akshay Mankar 2 years ago committed by GitHub
parent 676678f23f
commit f30dbd05fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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}"; }
)
)

Loading…
Cancel
Save