aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper
diff options
context:
space:
mode:
Diffstat (limited to 'src/CabalHelper')
-rw-r--r--src/CabalHelper/Compiletime/Types.hs2
-rw-r--r--src/CabalHelper/Runtime/Main.hs6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/CabalHelper/Compiletime/Types.hs b/src/CabalHelper/Compiletime/Types.hs
index e646f5e..e632c3b 100644
--- a/src/CabalHelper/Compiletime/Types.hs
+++ b/src/CabalHelper/Compiletime/Types.hs
@@ -172,7 +172,7 @@ data UnitInfo = UnitInfo
-- ^ The components of the unit: libraries, executables, test-suites,
-- benchmarks and so on.
- , uiCompilerVersion :: !(String, Version)
+ , uiCompilerId :: !(String, Version)
-- ^ The version of GHC the unit is configured to use
, uiPackageDbStack :: !([ChPkgDb])
diff --git a/src/CabalHelper/Runtime/Main.hs b/src/CabalHelper/Runtime/Main.hs
index 70a0cc5..2a72f37 100644
--- a/src/CabalHelper/Runtime/Main.hs
+++ b/src/CabalHelper/Runtime/Main.hs
@@ -243,7 +243,7 @@ usage = do
++" | config-flags\n"
++" | non-default-config-flags\n"
++" | write-autogen-files\n"
- ++" | compiler-version\n"
+ ++" | compiler-id\n"
++" | component-info\n"
++" | print-lbi [--human]\n"
++" ) ...\n"
@@ -253,7 +253,7 @@ commands = [ "flags"
, "config-flags"
, "non-default-config-flags"
, "write-autogen-files"
- , "compiler-version"
+ , "compiler-id"
, "package-db-stack"
, "component-info"
, "print-lbi"
@@ -346,7 +346,7 @@ main = do
initialBuildStepsForAllComponents distdir pd lbi v
return Nothing
- "compiler-version":[] -> do
+ "compiler-id":[] -> do
let CompilerId comp ver = compilerId $ compiler lbi
return $ Just $ ChResponseVersion $ (,) (show comp) (toDataVersion ver)