Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/MicroCabal/Backend/MHS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ mhsBackend env = do

mhsNameVers :: Env -> IO (String, Version)
mhsNameVers env = do
v <- readVersion . takeWhile (/= '\n') <$> mhsOut env "--numeric-version"
-- Without the package path flags: --numeric-version must be the only argument.
v <- readVersion . takeWhile (/= '\n') <$> cmdOut env (compilerExe (backend env) ++ " --numeric-version")
return ("mhs", v)

getMhsDir :: Env -> IO FilePath
Expand Down