Skip to content

Cannot configure prog prefix/suffix with SetupHooks #11168

@alt-romes

Description

@alt-romes

Describe the bug

Currently, a package configure hook can only update the configuration using the BuildOptions, which is later converted to ConfigFlags using buildOptionsConfigFlags. Unfortunately, BuildOptions doesn't allow me to tweak the program-suffix, making it impossible to change it programmatically with Hooks.

I propose we add fields programPrefix :: Maybe String and programSuffix :: Maybe String to BuildOptions to allow SetupHooks to set them.

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