Open
Description
I would love to have component-based build support for the nixpkgs haskell infra.
I understand that adding support for this is quite a big change. And I'm hoping to invest some time into implementing it.
Since this is quite a big addition I'm hoping to split it up into some smaller tasks.
The things I can think of are:
- Add support to
cabal2nix
to just emit one component - Add support to the nixpkgs builder to build just one component. (I think some of this already exists but haven't tested it)
- Add support for the nixpkgs builder to put tests into
passthru.tests
rather than have them run as part of a library's checkPhase - Add support to
cabal2nix
to emit all components as different .nix files. - Allow splitting out the building of
Setup.hs
into a separate shared derivation.
I'm thinking of keeping all of these things opt-in to avoid breakage especially while support is only partial.
How does this sound as a vague plan?
Metadata
Assignees
Labels
No labels