Skip to content

Commit 711d559

Browse files
committed
Deprecate unused Stack.Types.EnvConfig.snapshotsDir
See 5d7b66d for when removed from use.
1 parent 8fe901c commit 711d559

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Stack/Types/EnvConfig.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ snapshotsDir = do
152152
root <- view stackRootL
153153
platform <- platformGhcRelDir
154154
pure $ root </> relDirSnapshots </> platform
155+
{-# DEPRECATED snapshotsDir "Not used by Stack >= 1.0.4. May be removed from a future version of stack." #-}
155156

156157
-- | Installation root for dependencies
157158
installationRootDeps :: HasEnvConfig env => RIO env (Path Abs Dir)

0 commit comments

Comments
 (0)