-
-
Notifications
You must be signed in to change notification settings - Fork 11
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 errors as a dependency during stack build
#33
Comments
I think I'll make a new release on Hackage. I've removed the direct dependency on extra-deps:
- git: https://github.com/haskus/packages.git
commit: f490a4fb79960b282aed785a8a46ba6bc28df6a4
subdirs:
- haskus-binary
- haskus-utils
- haskus-utils-data I'm so used to do this for my projects that depend on haskus-binary et al. that I forget to release on Hackage. Thanks for the report! |
I've just uploaded https://hackage.haskell.org/package/haskus-utils-data-1.3 and https://hackage.haskell.org/package/haskus-binary-1.5. Let me now if anything fails. |
Thank you so much for your assistance! Sorry for the delayed response. I updated
After executing
However,
I would prefer to not set Thanks again, I'll try to be more swift in my reply. |
With the new release, you only need this # stack.yaml
resolver: lts-16.0
packages:
- .
extra-deps:
- haskus-binary-1.5
- haskus-utils-1.5
- haskus-utils-data-1.3
- haskus-utils-types-1.5
- haskus-utils-variant-3.0
- stm-containers-1.1.0.4
- stm-hamt-1.2.0.4
- primitive-extras-0.8
- primitive-unlifted-0.1.3.0 And this in your package.yaml: # package.yaml
dependencies:
- base >= 4.7 && < 5
- haskus-binary == 1.5 |
(There are too many |
That worked! Thank you for your help and for maintaining this repo! I do have one more question: What could I have done to figure out how to install this package without your help? I found this package via hackage and I looked through some of the docs on docs.haskus.org but I could not determine the correct installation steps. |
Before the new 1.5 release you couldn't install it with your version of GHC because of the dependency on
( The alternatives to fix this were:
So the best way to fix this was to open an issue here :) |
I am trying to use
haskus-binary
in my stack project. To do so, I have added:To
package.yaml
.When I execute
stack build
, I encounter errors which end up recommending I addextra-deps
tostack.yaml
. After doing this a few times,stack.yaml
contains:However, this ultimately fails with:
I am not entirely sure if this is a misconfiguration on my end or a problem with the haskus dependencies.
What should I do so that I may use
haskus-binary
in my project?I appreciate the help!
The text was updated successfully, but these errors were encountered: