summaryrefslogtreecommitdiff
path: root/compiler/main/DynFlags.hs
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-07-12 12:04:08 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-04 21:45:48 -0400
commitdd8f76b2e3285f8d01d652c8fa8c28e37ea474de (patch)
treeac82ccd6feac34e0ee962b0559395f05ffb93821 /compiler/main/DynFlags.hs
parentb538476be3706264620c072e6e436debf9e0d3e4 (diff)
downloadhaskell-dd8f76b2e3285f8d01d652c8fa8c28e37ea474de.tar.gz
Factor out a smaller part of Platform for host fallback
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r--compiler/main/DynFlags.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 18eb1a93b9..9e9e70ad28 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -1512,7 +1512,7 @@ versionedAppDir dflags = do
return $ appdir </> versionedFilePath dflags
versionedFilePath :: DynFlags -> FilePath
-versionedFilePath dflags = uniqueSubdir $ targetPlatform dflags
+versionedFilePath dflags = uniqueSubdir $ platformMini $ targetPlatform dflags
-- | The target code type of the compilation (if any).
--