@@ -7,6 +7,7 @@
7module Development.IDE.Types.Options
7module Development.IDE.Types.Options
8 ( IdeOptions(..)
8 ( IdeOptions(..)
9 , IdePkgLocationOptions(..)
9 , IdePkgLocationOptions(..)
10+ , defaultIdePkgLocationOptions
12import Development.Shake
13import Development.Shake
@@ -38,3 +39,7 @@ data IdePkgLocationOptions = IdePkgLocationOptions
38 -- used to lookup settings like importDirs. For DAML, we place them in the package DB.
39 -- used to lookup settings like importDirs. For DAML, we place them in the package DB.
39 -- For cabal this could point somewhere in ~/.cabal/packages.
40 -- For cabal this could point somewhere in ~/.cabal/packages.
43+defaultIdePkgLocationOptions :: IdePkgLocationOptions
44+defaultIdePkgLocationOptions = IdePkgLocationOptions f f
45+ where f _ _ = return Nothing