Skip to content

act-as-setup BUILD-TYPE, warning and error - #12240

Open
philderbeast wants to merge 1 commit into
haskell:masterfrom
cabalism:ux/act-as-setup-BUILD-TYPE
Open

act-as-setup BUILD-TYPE, warning and error#12240
philderbeast wants to merge 1 commit into
haskell:masterfrom
cabalism:ux/act-as-setup-BUILD-TYPE

Conversation

@philderbeast

@philderbeast philderbeast commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Changes the behaviour for #11456 but doesn't add to the user's guide. The act-as-setup command accepts Simple and Configure build types. If other build types are supplied anyway, it gives a warning and then an error mentioning acceptable and unacceptable build types.

- $ cabal-3.18.1.0 act-as-setup --build-type=Custom configure
+ $ cabal act-as-setup --build-type=Custom configure
- actAsSetupAction Custom
- CallStack (from HasCallStack):
-   error, called at src/Distribution/Client/Main.hs:1579:19 in
-   cabal-install-3.18.1.0-inplace:Distribution.Client.Main
+ Warning: act-as-setup accepts --build-type=Simple|Configure, case-sensitively.
+ Error: act-as-setup doesn't accept --build-type=Make|Hooks|Custom.

@philderbeast
philderbeast force-pushed the ux/act-as-setup-BUILD-TYPE branch from b4195a4 to a20e9bb Compare August 17, 2026 00:57
@philderbeast philderbeast changed the title act-as-setup BUILD-TYPE placeholder, warning and error act-as-setup BUILD-TYPE, warning and error Aug 17, 2026
@philderbeast
philderbeast force-pushed the ux/act-as-setup-BUILD-TYPE branch 4 times, most recently from a1f7c09 to dbf60b6 Compare August 18, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant