Add a notion of program search path to the ProgramDb
Previously we would just use the normal system $PATH for finding programs (unless the Program provided some custom method). Now the ProgramDb has its own notion of the search path and we use that for finding programs (by default). The search path can be either specific directories or the system search method (ie $PATH on unix and something similar on Win32). The default search path is just the system one. In addition, this search path is passed on to programs when we invoke them as the $PATH env var.
Showing
- Cabal/Cabal.cabal 1 addition, 0 deletionsCabal/Cabal.cabal
- Cabal/Distribution/Simple/GHC.hs 24 additions, 19 deletionsCabal/Distribution/Simple/GHC.hs
- Cabal/Distribution/Simple/LHC.hs 7 additions, 5 deletionsCabal/Distribution/Simple/LHC.hs
- Cabal/Distribution/Simple/Program.hs 4 additions, 0 deletionsCabal/Distribution/Simple/Program.hs
- Cabal/Distribution/Simple/Program/Builtin.hs 4 additions, 2 deletionsCabal/Distribution/Simple/Program/Builtin.hs
- Cabal/Distribution/Simple/Program/Db.hs 27 additions, 6 deletionsCabal/Distribution/Simple/Program/Db.hs
- Cabal/Distribution/Simple/Program/Find.hs 117 additions, 0 deletionsCabal/Distribution/Simple/Program/Find.hs
- Cabal/Distribution/Simple/Program/Types.hs 11 additions, 5 deletionsCabal/Distribution/Simple/Program/Types.hs
Loading
Please register or sign in to comment