You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cabal does not fail on non-existing system build-tools #5464
Since Cabal >= 2.0 it is possible to list arbitrary executables as build-tools. According to the documentation those executables need to be on the PATH. However, cabal will silently ignore non-existing executables.
$ cabal --version
cabal-install version 2.2.0.0
compiled using version 2.2.0.1 of the Cabal library
$ git clone -b build-tools-bug https://github.com/hspec/hspec-example/
$ cd hspec-example
$ cabal new-test
Expected behavior: cabal complains about the missing build tool
We should have soem sort explicit "foreign/system build tool depends" thing to desugar unknown build-tools into. That is the last step to build-tools being 100% desugared and deprecated. The fact that it is so close but not quite is probably the source of this bug.
Activity
hvr commentedon Jul 29, 2018
cc'ing @Ericson2314 who might be familiar with the issue
Ericson2314 commentedon Jul 29, 2018
We should have soem sort explicit "foreign/system build tool depends" thing to desugar unknown
build-toolsinto. That is the last step tobuild-toolsbeing 100% desugared and deprecated. The fact that it is so close but not quite is probably the source of this bug.