Conversation
You could manually add the two PRs to the one changelog entry you probably (hopefully?) made about the change you're fixing here? |
fisx
left a comment
There was a problem hiding this comment.
I still get the same error, but I'm not sure how to reproduce it without a 200 year old emacs haskell-mode and a self-written ghci wrapper script. stack repl works fine.
But... how?! And why did having the data file in the cabal file break things?
services/brig/brig.cabal
Outdated
There was a problem hiding this comment.
don't files that are required for compilation also count as data files?
There was a problem hiding this comment.
I don't think so.
There was a problem hiding this comment.
but they should make it into the tar ball created by cabal sdist, no? and that's only happening if they are listed here.
$ cabal sdist
remote: Enumerating objects: 60, done.
remote: Counting objects: 100% (60/60), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 60 (delta 40), reused 55 (delta 35), pack-reused 0
Unpacking objects: 100% (60/60), 14.09 KiB | 721.00 KiB/s, done.
From https://github.com/wireapp/http2
* [new branch] aeson-2 -> origin/aeson-2
* [new branch] client-status-fixme -> origin/client-status-fixme
* [new branch] preface-race -> origin/preface-race
* [new branch] smatting/debugging -> origin/smatting/debugging
Previous HEAD position was 7c465be Better support for setting header table size to 0
HEAD is now at 1ee1ce4 Make sure connection preface is always sent first
cabal: Error: Could not find module: Brig.Docs.Swagger with any suffix:
["gc","chs","hsc","x","y","ly","cpphs","hs","lhs","hsig","lhsig"]. If the
module is autogenerated it should be added to 'autogen-modules'.
ah, the last line is interesting!
There was a problem hiding this comment.
(yes, we don't do sdists, but we might as well pretend! :))
services/brig/brig.cabal
Outdated
There was a problem hiding this comment.
and why did you modify the cabal file instead of package.yaml?
There was a problem hiding this comment.
This only ended up by mistake in the cabal file, not in the package.yaml file.
|
concourse failed for the same reason #1964 failed earlier today: |
If you can share a script that breaks, I'm happy to look into it. But both stack repl and cabal repl work for me.
No, that was unrelated, just some harmless leftover. The fix is to generate the doc files on the repl hook, as well as on the build hook. |
6ef4326 to
8a8ea22
Compare
8a8ea22 to
730c196
Compare
Follow-up to #1956, fixing issues reported by @fisx:
No CHANGELOG entry.
Checklist