This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
tools are omitted from build plans #50
Comments
Interested in sending a PR?
…On Mon, Oct 2, 2017 at 4:52 AM, Doug Wilson ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBB5_m48HKWeFXM3a81kEGuYIrI6sDks5soEHjgaJpZM4PqHrF>
.
|
duog
added a commit
to duog/stackage-curator
that referenced
this issue
Oct 2, 2017
Addresses fpco#50. This is documented as the recommended way to obtain tool dependencies in https://hackage.haskell.org/package/Cabal-2.0.0.2/docs/Distribution-Simple-BuildToolDepends.html
duog
added a commit
to duog/stackage-curator
that referenced
this issue
Oct 3, 2017
Addresses fpco#50. This is documented as the recommended way to obtain tool dependencies in https://hackage.haskell.org/package/Cabal-2.0.0.2/docs/Distribution-Simple-BuildToolDepends.html
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: