Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

tools are omitted from build plans #50

Closed
duog opened this issue Oct 2, 2017 · 1 comment
Closed

tools are omitted from build plans #50

duog opened this issue Oct 2, 2017 · 1 comment

Comments

@duog
Copy link
Contributor

duog commented Oct 2, 2017

It seems that (some?) executable dependencies are omitted from nightly build plans.

The language-c-0.6.1 library declares happy and alex in it's Build-Tools field.
https://github.com/visq/language-c/blob/master/language-c.cabal

nightly-2017-07-25 has happy and alex in the tools section of the language-c library
https://raw.githubusercontent.com/fpco/stackage-nightly/master/nightly-2017-07-25.yaml

However nightly-2017-7-31, and all subsequent nightlies that I've checked, do not
https://raw.githubusercontent.com/fpco/stackage-nightly/master/nightly-2017-07-31.yaml

It seems that you get the tool dependencies by accessing the buildToolDepends field in BuildInfo directly:
https://hackage.haskell.org/package/Cabal-2.0.0.2/docs/Distribution-PackageDescription.html#t:BuildInfo
whereas you should be using the functions here:
https://hackage.haskell.org/package/Cabal-2.0.0.2/docs/Distribution-Simple-BuildToolDepends.html

@snoyberg
Copy link
Member

snoyberg commented Oct 2, 2017 via email

duog added a commit to duog/stackage-curator that referenced this issue Oct 2, 2017
duog added a commit to duog/stackage-curator that referenced this issue Oct 3, 2017
@duog duog closed this as completed Oct 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants