Skip to content

RFC: move postprocessing into overlays in nixpkgs as much as possible? #504

@sternenseemann

Description

@sternenseemann

src/Distribution/Nixpkgs/Haskell/FromCabal/PostProcess.hs has a lot of post processing hooks which do things that would also be possible via overrides, like disabling tests, adding dependencies, adding a phase hook etc.

I've stumbled over this before since cabal2nix sometimes does “magic” stuff I didn't expect. To me it'd be clearer to move these changes into nixpkgs's configuration-*.nix files, but there is the risk of breaking stuff for users of callCabal2nix, callHackageDirect etc.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions