Commit d2dfdfa9 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Add GhcM builder.

parent 9b560ce0
......@@ -28,6 +28,7 @@ data Builder = Ar
| GhcCabal
| Gcc Stage
| Ghc Stage
| GhcM Stage
| GhcPkg Stage
deriving (Show, Eq, Generic)
......@@ -48,6 +49,8 @@ builderKey builder = case builder of
Gcc _ -> "gcc"
GhcPkg Stage0 -> "system-ghc-pkg"
GhcPkg _ -> "ghc-pkg"
-- GhcM is currently a synonym for Ghc (to be called with -M flag)
GhcM stage -> builderKey $ Ghc stage
builderPath :: Builder -> Action String
builderPath builder = do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment