ghc-mod/Language/Haskell/GhcMod
Daniel Gröber 45d6b7d67a Guess right sandbox pkg-db path on ghc version mismatch
If cabal.sandbox.config contains a "package-db:" declaration with the
wrong path and only the ghc version is wrong, for example:

```
package-db: <DIR>/.cabal-sandbox/x86_64-linux-ghc-7.8.3-packages.conf.d
```

Even though the user is using 7.10.0.20141222 `cabal repl` will correct
this and pass

```
-package-db <DIR>/.cabal-sandbox/x86_64-linux-ghc-7.10.0.20141222-packages.conf.d
```

to ghci, so obviously Cabal/cabal-install is doing some magic.

Conflicts:
	Language/Haskell/GhcMod/PathsAndFiles.hs
2015-02-08 12:43:25 +01:00
..
Boot.hs Rename List.hs -> Modules.hs 2014-08-28 11:41:03 +02:00
Browse.hs fix for varid bug in showExports & processExports 2014-12-24 22:17:36 +01:00
Cabal16.hs Add license headers for code copied from Cabal 2014-05-10 13:43:27 +02:00
Cabal18.hs Add license headers for code copied from Cabal 2014-05-10 13:43:27 +02:00
Cabal21.hs Handle LocalBuildInfo for Cabal 1.21; squash commits; fixes #343. 2014-09-12 04:50:29 +02:00
CabalApi.hs Rewrite ghc-mod command line frontend. 2014-09-18 10:45:14 +02:00
CabalConfig.hs Refactoring World, etc. and fix #387 2014-11-02 01:19:27 +01:00
CaseSplit.hs Support where clauses, let bindings and case expressions in case splitting (fixes #395) 2014-11-03 00:15:12 +01:00
Check.hs removing warnings. 2014-09-22 11:32:28 +09:00
Convert.hs Show more than one Djinn completion 2014-08-02 09:52:36 +02:00
Cradle.hs Fix findCabalFile 2014-11-03 00:45:27 +01:00
Debug.hs Use the cabal configuration flags where possible when finalizing the PackageDescription. 2014-09-12 13:15:05 +10:00
Doc.hs Move lots of stuff to GhcMod 2014-06-28 21:43:51 +02:00
DynFlags.hs Rephrase some docs 2014-08-29 17:21:38 +02:00
Error.hs docs 2014-11-02 21:43:49 +01:00
FillSig.hs Fix error when compiling with HSE < 1.16 2014-09-17 23:39:10 +02:00
Find.hs Refactoring World, etc. and fix #387 2014-11-02 01:19:27 +01:00
Flag.hs Use GhcModT everywhere and remove the GhcMod alias 2014-07-15 01:03:56 +02:00
Gap.hs CaseSplit panic sorted. closes https://github.com/kazu-yamamoto/ghc-mod/issues/336 2014-08-23 14:06:26 +02:00
GHCApi.hs Give readProcess' more sensible error messages. 2014-08-28 15:57:49 +02:00
GHCChoice.hs Fix merge conflict, dropdown-list no longer needed 2014-08-14 18:02:58 +02:00
GhcPkg.hs Refactoring World, etc. and fix #387 2014-11-02 01:19:27 +01:00
Info.hs Use GhcModT everywhere and remove the GhcMod alias 2014-07-15 01:03:56 +02:00
Internal.hs Refactoring World, etc. and fix #387 2014-11-02 01:19:27 +01:00
Lang.hs Use GhcModT everywhere and remove the GhcMod alias 2014-07-15 01:03:56 +02:00
Lint.hs Fix merge conflict, dropdown-list no longer needed 2014-08-14 18:02:58 +02:00
Logger.hs Remove a bunch of dead code 2015-01-03 00:36:12 +01:00
Modules.hs Rename List.hs -> Modules.hs 2014-08-28 11:41:03 +02:00
Monad.hs Fixed #422. 2014-12-24 22:12:36 +01:00
PathsAndFiles.hs Guess right sandbox pkg-db path on ghc version mismatch 2015-02-08 12:43:25 +01:00
PkgDoc.hs Use readProcess' in PkgDoc.hs 2014-09-11 01:26:42 +02:00
Read.hs Copy readMaybe/readEither from base >= 4.7 for backwards compatibility 2014-05-10 13:43:46 +02:00
SrcUtils.hs Give readProcess' more sensible error messages. 2014-08-28 15:57:49 +02:00
Target.hs Workaround for #340 2014-09-12 04:02:32 +02:00
Types.hs Add Show instance for Options 2014-10-30 01:11:10 +01:00
Utils.hs Prefix ghc-mod tmpdirs with "ghc-mod" 2014-12-24 21:34:39 +01:00
World.hs Refactoring World, etc. and fix #387 2014-11-02 01:19:27 +01:00