Stack.Types.EnvConfig.platformSnapAndCompilerRel yields:
useShaPathOnWindows (platform </> name </> ghc)
Despite that installationRootLocal has:
psc <- useShaPathOnWindows =<< platformSnapAndCompilerRel
and hoogleRoot has:
psc <- useShaPathOnWindows =<< platformSnapAndCompilerRel
They look redundant to me.