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

Dependency resolving broken in https://github.com/NoRedInk/haskell-libraries #34

Open
stoeffel opened this issue Oct 16, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@stoeffel
Copy link
Contributor

stoeffel commented Oct 16, 2021

It's working for me in other packages, but when I run
haskell-verify-examples nri-prelude/src/Dict.hs

I get the following error:

The example doesn't compile:
nri-prelude/src/Dict.hs:44:1: error:
    Could not find module ‘Basics’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.nri-prelude/src/Dict.hs:46:1: error:
    Could not find module ‘List’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.nri-prelude/src/Dict.hs:47:1: error:
    Could not find module ‘List’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.nri-prelude/src/Dict.hs:48:1: error:
    Could not find module ‘Maybe’
    Perhaps you meant Maybes (needs flag -package-key ghc-8.10.4)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.nri-prelude/src/Dict.hs:44:1: error:
    Could not find module ‘Basics’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.nri-prelude/src/Dict.hs:46:1: error:
    Could not find module ‘List’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.nri-prelude/src/Dict.hs:47:1: error:
    Could not find module ‘List’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.nri-prelude/src/Dict.hs:48:1: error:
    Could not find module ‘Maybe’
    Perhaps you meant Maybes (needs flag -package-key ghc-8.10.4)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.

It does work though when I run it from a sub-project. Like:
cd nri-prelude && haskell-verify-examples src/Dict.hs

@stoeffel stoeffel added the bug Something isn't working label Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant