Skip to content
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

Continue building after failing to install build-tool #209

Merged
merged 1 commit into from
Mar 9, 2018
Merged

Continue building after failing to install build-tool #209

merged 1 commit into from
Mar 9, 2018

Conversation

amosr
Copy link
Contributor

@amosr amosr commented Mar 8, 2018

Some packages refer to build-tools that are not cabal packages.
For example, "zip-archive" depends on "unzip", but this is talking about a binary, not a cabal package.
I think cabal allows anything in the build-tools field. Since build-tools has existed in the wild without any tool checking, there are probably more packages like this.

This is unfortunate, and perhaps the package shouldn't include this as it isn't a build tool, but we should probably provide some way to continue building regardless. Here I just catch the error and try to continue.

@amosr
Copy link
Contributor Author

amosr commented Mar 8, 2018

(Unfortunately I still can't build zip-archive locally, but I think that's unrelated…)

@erikd
Copy link
Contributor

erikd commented Mar 8, 2018

Squash that into a single commit and I think its ready to go.

Some packages refer to build-tools that are not cabal packages.
For example, "zip-archive" depends on "unzip", but this is talking about a binary, not a cabal package.
This is unfortunate, and perhaps the package shouldn't include this as it isn't a build tool, but we should probably provide some way to continue building regardless.
@amosr
Copy link
Contributor Author

amosr commented Mar 9, 2018

@erikd squashed.

I don't think this is the best way to solve this – I think your suggestion in #208 to check on the PATH first is better, but I think this is better than nothing

@erikd erikd merged commit 0144942 into haskell-mafia:master Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants