-
Notifications
You must be signed in to change notification settings - Fork 247
Doctest is broken #221
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
Comments
Can also see an example of it at https://hydra.iohk.io/build/1024554/nixlog/8, where it's failing in the ledger specs |
I'm encountering the same issue when building |
I am hitting this too
I tried adding
but that didn't help at all. Anyone have a workaround for this? /cc @angerman @hamishmack |
I noticed that terminfo, ghxi, and few others are commented out here https://github.com/input-output-hk/haskell.nix/blob/master/modules/component-driver.nix. Could that be the cause of these issues? |
After uncommenting those and rebuilding ghc, |
@purefn the idea is to only have minimal set of packages that are non-reinstallable, thus that set of packages needs to be closed and we try to keep it as minimal as possible. |
@angerman Ok, is there another way to get doctest building without uncommenting those? If not, it seems like they should be part of the minimal set. |
I did eventually find that
fixes the problem and |
@purefn caching with haskell.nix is by nature substantially worse than with nixpkgs as there is no single currated package set. Setting Even if we added test-cases with |
I think cabal-doctest support works reasonably well now. See https://github.com/input-output-hk/haskell.nix/tree/master/test/cabal-doctests for an example. |
When trying to build IntersectMBO/ouroboros-network@eb61e30, the doctest fails with
Using this version of iohk-nix:
This appears to be the same problem as #66, which was marked as fixed.
The text was updated successfully, but these errors were encountered: