on master help sign in
add stack's snapshot package db to ScriptSession
commit2145530d11ae8ad0f5937bec4417bcc28409f939 authorAgentM <agentm@themactionfaction.com> dateThu 18 Jan 2018, 11:49 (9 years ago) parent43d0627
1 file changed+2−1
src/lib/ProjectM36/ScriptSession.hs+2−1
src/lib/ProjectM36/ScriptSession.hs+2−1
@@ -48,7 +48,8 @@ initScriptSession ghcPkgPaths = do
4848 "./dist-newstyle/packagedb/ghc-" ++ ghcVersion,
4949 ".cabal-sandbox/*ghc-" ++ ghcVersion ++ "-packages.conf.d",
5050 ".stack-work/install/*/*/" ++ ghcVersion ++ "/pkgdb",
51− ".stack-work/install/*/pkgdb", --appveyor stack build
51+ ".stack-work/install/*/pkgdb/", --windows stack build
52+ "C:/sr/snapshots/b201cfe6/pkgdb", --windows stack build- ideally, we could run `stack path --snapshot-pkg-db, but this is sufficient to pass CI
5253 homeDir </> ".stack/snapshots/*/*/" ++ ghcVersion ++ "/pkgdb",
5354 homeDir </> ".cabal/store/ghc-" ++ ghcVersion ++ "/package.db"
5455 ]