Skip to content

Commit

Permalink
Don't share precompiled packages between platform variants (fixes #1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Dec 26, 2015
1 parent b32273e commit 323a6db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Stack/Build/Cache.hs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,11 @@ precompiledCacheFile pkgident copts installedPackageIDs = do
-- cache hit just because it was installed in a different directory.
copts' <- parseRelFile $ S8.unpack $ B16.encode $ SHA256.hashlazy cacheInput

platformRelDir <- platformGhcRelDir

return $ getStackRoot ec
</> $(mkRelDir "precompiled")
</> platformRelDir
</> compiler
</> cabal
</> pkg
Expand Down

0 comments on commit 323a6db

Please sign in to comment.