NixOS / cabal2nix

Generate Nix build instructions from a Cabal file
https://haskell4nix.readthedocs.io
Other
361 stars 156 forks source link

Support multiple public libraries #448

Open expipiplus1 opened 4 years ago

expipiplus1 commented 4 years ago

Cabal 3 supports multiple public libraries in a single package (and support is hopefully coming to hackage soon (https://github.com/haskell/hackage-server/issues/852)), it would be great if cabal2nix (and hackage2nix) would support such a feature.

I'm not sure exactly what shape the output could take, perhaps putting sub-libraries in passthru would be cool.

gwils commented 3 years ago

This would be helpful for me and my team.