Skip to content

Please add a flag to prevent stack from re-generating Cabal files with hpack #2001

@peti

Description

@peti

I want my test builds to run with the (hpack-generated) Cabal files that I've checked into the repository; I don't want stack to re-generate them as part of the build. Currently, I achieve that by deleting all package.yaml files before running stack, but it would be nicer if there was a command-line flag or a config option to configure stack's behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions