Skip to content

extra-executables in cabal.project #9230

Open

Description

@fgaz

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

Additional context
Originally #7865 and #6952 (comment)

Activity

  1. mpickering commented on Sep 6, 2023

    @mpickering
    Collaborator

    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?

  2. michaelpj commented on Sep 6, 2023

    @michaelpj
    Collaborator

    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.

  3. andreabedini commented on Sep 7, 2023

    @andreabedini
    Collaborator

    I would find this confusing since we already have extra-packages which 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 install to install them.

  4. added
    re: devx
    and removed on Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    re: devxre: project-filetype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions