Open spacekitteh opened 5 years ago
This still occurs in 14.1. @qrilka
@spacekitteh I couldn't reproduce it:
qrilka@qdesktop ~/ws/h/Haskell-etc $ stack build --stack-yaml=stack-lts-14.1.yaml && echo "exit code: $?"
exit code: 0
qrilka@qdesktop ~/ws/h/Haskell-etc $ cat stack-lts-14.1.yaml
resolver: lts-14.1
packages:
- 'etc'
- 'examples/etc-command-example'
- 'examples/etc-plain-example'
- 'examples/etc-embedded-config-example'
- 'examples/etc-compile-time-spec-check-example'
flags:
etc:
extra: true
cli: true
yaml: true
I use Stack-2.1
Hmm. Perhaps it is a windows-only bug?
Nope. Bizarre, when I used just that config, it worked; but when I include etc as a dependency in another project, and use lts-14.0 or 14.1 or 14.6, I get that error.
I am using Stack 2.2.0 (git), but I'm 99.9% sure it was occurring with 2.1 as well.
Here's the project: http://gitlab.com/spacekitteh/curiosity.git
Oh, I guess I see what's the problem: the library had no release since 0.4.1.0 and #67 has landed after that. Until @roman releases a new version you could add the current commit 5c88575 as a dependency into your stack.yaml. Hope this helps.
I'm also experiencing this, would it make sense to cut a release soon?
@TOTBWF maybe it could make sense to contact @roman using some other means than Github - it could be possible that he has no time to maintain the package and new maintainer is needed.
I'm hitting this aswell :( Is there any workaround ?
you could use the commit mentioned above @roosemberth
@qrilka Yes, sorry I didn't know how stack distributions work ><"
I added this to my stack configuration:
extra-deps:
- git: https://github.com/roman/Haskell-etc
commit: 5c88575fa5d742aece4669c460e0ae72e039b45e
subdir: etc
I have the YAML and CLI flags enabled.