-
Notifications
You must be signed in to change notification settings - Fork 842
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
Stack build fails for "Hello World" executable project with error: ghc-pkg: cannot find package
#1232
Comments
I think I know what's happening... |
Out of curiosity: what's your My guess is that this broke due to my change to use the |
@MaiaVictor I believe this should now be fixed on master. After pulling the latest master, I was also able to reproduce this problem, and it was unrelated to the code change I thought it might be part of. Can you confirm that after |
@snoyberg I am really sorry for the delay! I've left stack upgrading and will tell you whether it works as soon as I get back from work. The output of
|
Okay, turns out it updated quite quickly so I was able to test it already. Seems like everything works. Thank you! |
No problem |
* master: (106 commits) Fix ghci -package-id for lib dep from test #1222 Fix passing of include dirs to GHCI #1222 Minor change to some local var naming Fix a copy-o which breaks ghci test targets #1222 Only ask for commit count once when compiling Move Windows installers above manual download Import all modules after loading them (#995) replace if then else with case matching (multiway if) Control/Concurrent/Execute.hs : redundant do Use stack setup so you can ignore most of the output Don't cache the GHC folder Strip -static before passing to GHCi (#1094) Fix: unlisted files in tests and benchmarks trigger extraneous second build (fixes #838) Don't fail when registering/looking up library for executable-only packages #1232 Fix help for default true bool flag's enable hint Rebuild when cabal file is changed watched command: show files, not directories Update changelog Fix: Haddocks not copied for dependencies (fixes #1105) Remove redundant Version from InstalledMap ...
Stack is failing to build a "Hello World" executable here. Here is the log:
Moreover, it is failing to build a project that was building fine until yesterday, and nothing changed on it. The project is available at http://github.com/maiavictor/haelin. The error is similar:
ghc-pkg: cannot find package Test
(which is the only executable inside my project). The only thing I did was updatestack
to enable GHCJS, as suggested on the GHCJS thread:This is the version I have:
I'm under OSX El Capitain.
The text was updated successfully, but these errors were encountered: