From 222d979921bbce0ab4ae0b66b260ce7066df49ce Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Wed, 31 Jul 2019 16:58:08 +0200 Subject: Add TODO about user-ghc-environment support --- src/CabalHelper/Compiletime/Compile.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/CabalHelper') 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 -- cgit v1.2.3