-
Notifications
You must be signed in to change notification settings - Fork 92
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
Build/ghci issues with version 0.4 #2
Comments
Thanks for reporting! It looks like a bug in |
I'm not at all familiar with |
Hi, after doing a little research I installed GHC (v8.6.4) and tried
Not sure what to do with that :) |
Update: actually the |
Hi @Rhywun, there were problems with package dependencies, but it should be built now with the latest GHC via |
It worked after running |
Is there any way to fix this repository so that stack just works? According to the State of Haskell Survey, stack is the most popular build tool by a fair amount over cabal. And the intro to the book presents them both as valid options to follow along with the distribution code. It is frustrating to simply have to use another tool because one of them is not set up in a way that works (I can't imagine it is impossible to configure the code so that stack just works). I cannot run
I tried ignoring that limitation and proceeded reading, but in section 3.2.4 I get this error:
Running I know students are supposed to try things and explore the language in order to learn, but I expected to do this by building on top of the course itself, which I expected to work out of the box. |
Hi @brunoparga, it's an old |
It is painful especially when I don't see what advantage cabal new* oh wait now it's cabal v2* is supposed to bring. I like stack's curated list of packages. If that's going to be deprecated, I don't understand how cabal v2 is solving the version-hell problem. I get that everything is in flux - fun times! :) |
Thank you @bravit , it is a bit sad that what seems to be such and important part of the ecosystem has what looks like a pretty inconvenient bug. I'll switch to |
Hi, I'm having some problems with the latest version of the source code:
stack build
succeeds but it warns that "This package indirectly depends on multiple versions of the same package" (see attached build.txt).Executables seem to run fine with
stack exec
.stack ghci [any file]
fails with the messagecannot satisfy -package z-hid-examples-z-ipgen-lib
(see attached ghci.txt).I am using homebrew stack version 1.9.3 x86_64. Thanks for any advice.
build.txt
ghci.txt
The text was updated successfully, but these errors were encountered: