Skip to content

build-tool-depends in setup-depends #5540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nomeata opened this issue Aug 23, 2018 · 2 comments
Closed

build-tool-depends in setup-depends #5540

nomeata opened this issue Aug 23, 2018 · 2 comments

Comments

@nomeata
Copy link
Contributor

nomeata commented Aug 23, 2018

While trying to use cabal to build a project that the author has setup with stack, I found myself wanting to add build-tool-depends to setup-depends:

custom-setup
  setup-depends:
      base
    , Cabal
    , containers
    , directory
    , filepath
    , genapply
    , process
  build-tool-depends:
    genapply:genapply

but Cabal seems to not know how to handle build-tool-depends in custom-setup. Is that intentional, or an oversight?

@hvr
Copy link
Member

hvr commented Aug 23, 2018

Duplicate of #4648

@hvr hvr marked this as a duplicate of #4648 Aug 23, 2018
@23Skidoo
Copy link
Member

Closing in favour of #4648.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants