aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Program/GHC.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-01-26 18:27:20 +0100
committerDaniel Gröber <dxld@darkboxed.org>2019-01-26 19:28:37 +0100
commit2c38147fe73cdca0f8e11387a7ee92b1506e99b9 (patch)
tree4a7b183ddd4ea01bf3a663058f5db5f1bdf93762 /src/CabalHelper/Compiletime/Program/GHC.hs
parent3486b4addcec20f881a85d99aa37c2701c108c08 (diff)
compile: v2-install --libs needs GHC >=8.0
Diffstat (limited to 'src/CabalHelper/Compiletime/Program/GHC.hs')
-rw-r--r--src/CabalHelper/Compiletime/Program/GHC.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CabalHelper/Compiletime/Program/GHC.hs b/src/CabalHelper/Compiletime/Program/GHC.hs
index 79dd1b3..b58eab0 100644
--- a/src/CabalHelper/Compiletime/Program/GHC.hs
+++ b/src/CabalHelper/Compiletime/Program/GHC.hs
@@ -61,6 +61,7 @@ data GhcInvocation = GhcInvocation
}
newtype GhcVersion = GhcVersion { unGhcVersion :: Version }
+ deriving (Eq, Ord, Read, Show)
showGhcVersion :: GhcVersion -> String
showGhcVersion (GhcVersion v) = showVersion v