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:
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?
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:
cabal2nixto just emit one componentpassthru.testsrather than have them run as part of a library's checkPhasecabal2nixto emit all components as different .nix files.Setup.hsinto 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?