File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ Major changes:
1010
1111Behavior changes:
1212
13+ * On Windows, the path segment _ platform_ \\ _ hash_ \\ _ ghc version_ , under
14+ ` .stack-work\install ` and ` .stack-work\hoogle ` , is hashed only once, rather
15+ than twice.
16+
1317Other enhancements:
1418
1519Bug fixes:
Original file line number Diff line number Diff line change @@ -154,19 +154,18 @@ snapshotsDir = do
154154 pure $ root </> relDirSnapshots </> platform
155155{-# DEPRECATED snapshotsDir "Not used by Stack >= 1.0.4. May be removed from a future version of stack." #-}
156156
157- -- | Installation root for dependencies
157+ -- | Installation root for dependencies.
158158installationRootDeps :: HasEnvConfig env => RIO env (Path Abs Dir )
159159installationRootDeps = do
160160 root <- view stackRootL
161- -- TODO: also useShaPathOnWindows here, once #1173 is resolved.
162161 psc <- platformSnapAndCompilerRel
163162 pure $ root </> relDirSnapshots </> psc
164163
165- -- | Installation root for locals
164+ -- | Installation root for locals.
166165installationRootLocal :: HasEnvConfig env => RIO env (Path Abs Dir )
167166installationRootLocal = do
168167 workDir <- getWorkDir
169- psc <- useShaPathOnWindows =<< platformSnapAndCompilerRel
168+ psc <- platformSnapAndCompilerRel
170169 pure $ workDir </> relDirInstall </> psc
171170
172171-- | Get the hoogle database path.
@@ -215,7 +214,7 @@ bindirCompilerTools = do
215214hoogleRoot :: HasEnvConfig env => RIO env (Path Abs Dir )
216215hoogleRoot = do
217216 workDir <- getWorkDir
218- psc <- useShaPathOnWindows =<< platformSnapAndCompilerRel
217+ psc <- platformSnapAndCompilerRel
219218 pure $ workDir </> relDirHoogle </> psc
220219
221220compilerVersionDir ::
You can’t perform that action at this time.
0 commit comments