[commit: ghc] wip/nfs-locking: Add a note on cabalDeps list. (d1c8ba4)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:25:44 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/d1c8ba4b5787d0995538cc0b69a4aa93969f6488/ghc

>---------------------------------------------------------------

commit d1c8ba4b5787d0995538cc0b69a4aa93969f6488
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Mon Apr 18 10:16:13 2016 +0100

    Add a note on cabalDeps list.
    
    See #215. [skip ci]


>---------------------------------------------------------------

d1c8ba4b5787d0995538cc0b69a4aa93969f6488
 src/Settings/Packages/GhcCabal.hs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Settings/Packages/GhcCabal.hs b/src/Settings/Packages/GhcCabal.hs
index 80bda57..1dac541 100644
--- a/src/Settings/Packages/GhcCabal.hs
+++ b/src/Settings/Packages/GhcCabal.hs
@@ -20,6 +20,9 @@ ghcCabalBootArgs = stage0 ? do
     path <- getBuildPath
     let cabalMacros     = path -/- "autogen/cabal_macros.h"
         cabalMacrosBoot = pkgPath ghcCabal -/- "cabal_macros_boot.h"
+    -- Note: We could have computed 'cabalDeps' instead of hard-coding it
+    -- but this doesn't worth the effort, since we plan to drop ghc-cabal
+    -- altogether at some point. See #18.
     cabalDeps <- fromDiffExpr $ mconcat
         [ append [ array, base, bytestring, containers, deepseq, directory
                  , pretty, process, time ]



More information about the ghc-commits mailing list