Skip to content

Add flag to cabal to specify requiredInstall packages in modular solver. #4209

Closed
@robinp

Description

@robinp

In the modular solver at

P.requireInstalled (`elem` [ mkPackageName "base"
, the list of wired-in packages is hardcoded.

When one wants to rebuild one of these packages (see mail thread about rebuilding base), the given package needs to be commented out, and cabal rebuilt locally.

It would be nice if the list of packages came from a flag (defaulting to the current set?), which users could override. Or, if it's needed for some reason, keep the list hardcoded but let some packages be removed with a flag.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions