-
Notifications
You must be signed in to change notification settings - Fork 719
Closed
Labels
attention: pr-welcomecabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: bug
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
:(
Metadata
Metadata
Assignees
Labels
attention: pr-welcomecabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: bug