-
Notifications
You must be signed in to change notification settings - Fork 724
Closed
Labels
cabal-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").newcomernewcomer: 1-one-line-changetype: bug
Description
Most exes(tests,benchs) expect to be run in the package root, but with the introduction of projects this is no longer always true.
This became evident when trying new-run with the cabal-install tests (using #4861) while being in the project root.
Relevant lines:
cabal/cabal-install/Distribution/Client/CmdRun.hs
Lines 214 to 218 in 0122cf2
| emptyProgramInvocation { | |
| progInvokePath = exePath, | |
| progInvokeArgs = args, | |
| progInvokeEnv = dataDirsEnvironmentForPlan elaboratedPlan | |
| } |
Metadata
Metadata
Assignees
Labels
cabal-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").newcomernewcomer: 1-one-line-changetype: bug