Closed
Description
Summary @ezyang. There's an easy fix for this which should only take an afternoon to implement: for each direct dependency, if it contains any executables, add the PATH of the executables to the environment when we are building. There are two primary risks: (1) how do you actually add the PATH to the environment, and (2) if there is a PATH limitation that we butt into.
While trying to use cabal new-build
on servant
:
Preprocessing test suite 'spec' for servant-0.7...
ghc: could not execute: hspec-discover
The executable is clearly not in $PATH
:(