aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper/Compiletime')
-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