@@ -7,6 +7,7 @@
77module Development.IDE.Types.Options
88 ( IdeOptions(..)
99 , IdePkgLocationOptions(..)
10+ , defaultIdePkgLocationOptions
1011 ) where
1112
1213import Development.Shake
@@ -38,3 +39,7 @@ data IdePkgLocationOptions = IdePkgLocationOptions
3839 -- used to lookup settings like importDirs. For DAML, we place them in the package DB.
3940 -- For cabal this could point somewhere in ~/.cabal/packages.
4041 }
42+
43+defaultIdePkgLocationOptions :: IdePkgLocationOptions
44+defaultIdePkgLocationOptions = IdePkgLocationOptions f f
45+ where f _ _ = return Nothing