Andreas Herrmann

Results 248 comments of Andreas Herrmann

At a cursory look, fixing this will probably require tracking exports transitively [here](https://github.com/tweag/rules_haskell/blob/7204b88fdcbaf2098d381790bf5d146e62b4a05c/haskell/private/haskell_impl.bzl#L617-L621) instead of just the direct exports. This should probably be done by using a `depset` instead of...

@prednaz was this resolved by #2125? If so, please close. :slightly_smiling_face:

Looking at the error message, the relevant code is probably here: https://github.com/tweag/rules_haskell/blob/b2baa5f8f08aa859a03e83cc4bb9718798a0d90a/haskell/private/cc_wrapper.py.tpl#L932-L939

> This is the relevant section of my WORKSPACE file for my build of haskell-language-server @iteratee Thank you for sharing your configuration! I see a lot of patched packages in...

Thanks for raising this @antsareeverywhere. Do you have a minimal repro that you could share that illustrates the use of the feature? rules_haskell implemenents most of the handling of CC...

> I wonder why do we need cabal in the first place? > If we don't write the cabal files. Isn't it possible to use GHC directly for builds? Cabal...

> I'm sorry to say but I've tried it for an hour and have failed to create working snippet for WORKSPACE. > In your gazelle repo you list small snippets...

Dropped to P4. It's unclear if GHCJS is still needed given that we now have Asterius support.

> Unfortunately, using haskell_module or gazelle is not an option for me. What's preventing you from adopting these? As described in [the corresponding blog post](https://www.tweag.io/blog/2022-11-03-blog_recompilation/) `haskell_module` enables recompilation avoidance.

Re 1. Gazelle is indeed intended to be used in a way where you check-in the generated BUILD files. Gazelle is designed to be able to update the files in-place,...