aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-07-31 16:58:08 +0200
committerDaniel Gröber (dxld) <dxld@darkboxed.org>2019-09-17 17:48:26 +0200
commit222d979921bbce0ab4ae0b66b260ce7066df49ce (patch)
tree344d207849b80acb960463119a791ca2fcdf9a31
parent65bd5532775f13d911f4def1059b614acca5a330 (diff)
Add TODO about user-ghc-environment support
-rw-r--r--src/CabalHelper/Compiletime/Compile.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CabalHelper/Compiletime/Compile.hs b/src/CabalHelper/Compiletime/Compile.hs
index b6b552a..c2d2906 100644
--- a/src/CabalHelper/Compiletime/Compile.hs
+++ b/src/CabalHelper/Compiletime/Compile.hs
@@ -214,6 +214,11 @@ compileHelper' CompHelperEnv {..} = do
compileWithCabalV2GhcEnv ghcVer cabalVer =
compileWithCabalV2GhcEnv' ghcVer (CabalVersion cabalVer)
+ -- TODO: Support using existing ghc-environments too! That's mostly
+ -- relevant for when you want to use a development version of
+ -- cabal-install since that will depend on an unreleased version of
+ -- Cabal we cannot new-install just like that.
+
-- | If this is a v2-build project it makes sense to use @v2-install@ for
-- installing Cabal as this will use the @~/.cabal/store@. We use
-- @--package-env@ to instruct cabal to not meddle with the user's package