Skip to content

Make "missing custom-setup stanza" warnings less noisy #3034

@sjakobi

Description

@sjakobi

These were introduced in #3019. Here's a snippet from a build log:

comonad-5: configure
Package comonad uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
comonad-5: build
Package comonad uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
comonad-5: copy/register
Package comonad uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
Package comonad uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
bifunctors-5.4.1: configure
bifunctors-5.4.1: build
bifunctors-5.4.1: copy/register
profunctors-5.2: configure
profunctors-5.2: build
semigroupoids-5.1: configure
Package semigroupoids uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
semigroupoids-5.1: build
Package semigroupoids uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
profunctors-5.2: copy/register
semigroupoids-5.1: copy/register
Package semigroupoids uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
Package semigroupoids uses a custom Cabal build, but does not use a custom-setup stanza
Not using the explicit setup deps approach based on configuration
Strongly recommend fixing the package's cabal file
  1. There should only one warning per package.
  2. I think these warnings should only be shown for local packages.
  3. Maybe they could link to relevant documentation for custom-setup?

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