You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature request
A new extra-executables field that specifies executables to be provided during development, such as linters and formatters. These should be solved independently from each other and from the main project.
The field should not contain executables that are needed to build the project. Those go in build-tool-depends, in the appropriate .cabal file
I tend to agree. If we had a concept of a cabal-provided dev-shell, and the field was dev-tools or something, then it would make sense that when you go into the dev shell you get the dev tools on the path. But just saying they're "extra" is indeed rather unclear.
Activity
mpickering commentedon Sep 6, 2023
I think this is a bit underspecified.
How is this field used? What commands would invoke these executables to be built, and how would they end up in the PATH?
michaelpj commentedon Sep 6, 2023
I tend to agree. If we had a concept of a cabal-provided dev-shell, and the field was
dev-toolsor something, then it would make sense that when you go into the dev shell you get the dev tools on the path. But just saying they're "extra" is indeed rather unclear.andreabedini commentedon Sep 7, 2023
I would find this confusing since we already have
extra-packageswhich are solved within the plan.TBH I am -1 on adding dev environment management features to cabal.
If those executables have to solved independently; this would be equivalent to using
cabal installto install them.