Skip to content

Dependency executables aren't in PATH #3417

Closed
@phadej

Description

@phadej

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 :(

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions