haskell / haskell/hackage-server

flag minimal does not build

Open
#1,172 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

`Distribution.Server.Features.Browse` brings in `Distribution.Server.Features.Search` which is gated by `if !flag(minimal)`. Apparently GHC is happy with that and will keep loading those modules, but then build fails later on because of the `tokenize` dep and `libstemmer_c` which are brought in only `if !flag(mimimal)`.

I tried defining a `Distribution.Server.Features.Search.Stub` but I still had issues elsewhere and in the end I gave up.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.