Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building hoggle database fails if build depends have no packages with documentation #12

Open
pjones opened this issue Sep 18, 2020 · 1 comment

Comments

@pjones
Copy link
Owner

pjones commented Sep 18, 2020

Strange error until you add enough packages to the build-depends:

error: while evaluating the attribute 'NIX_GHC' of the derivation 'ghc-shell-for-inhibit-screensaver-0.0.0.0-0' at /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/pkgs/development/haskell-modules/generic-builder.nix:613:16:
while evaluating the attribute 'paths' of the derivation 'ghc-8.8.4-with-packages' at /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating the attribute 'buildCommand' of the derivation 'hoogle-local-0.1' at /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/pkgs/development/haskell-modules/hoogle.nix:58:3:
while evaluating 'optionalString' at /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/lib/strings.nix:180:5, called from /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/pkgs/development/haskell-modules/hoogle.nix:66:7:
while evaluating 'concatMapStringsSep' at /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/lib/strings.nix:88:5, called from /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/pkgs/development/haskell-modules/hoogle.nix:69:10:
while evaluating anonymous function at /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/pkgs/development/haskell-modules/hoogle.nix:69:40, called from undefined position:
value is null while a set was expected, at /nix/store/j2941sr319c4mighd0r2b95qq2gi3ykh-source/pkgs/development/haskell-modules/hoogle.nix:69:43
@pjones
Copy link
Owner Author

pjones commented Jun 2, 2021

Upstream issue: NixOS/nixpkgs#82245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant