Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit c1f58e4

Browse files
authored
Merge pull request #1351 from chrismwendt/print-os
Log OS in hie-wrapper
2 parents 343dc7f + a67490b commit c1f58e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/HieWrapper.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import System.Directory
2222
import System.Environment
2323
import qualified System.Log.Logger as L
2424
import System.Process
25+
import System.Info
2526

2627
-- ---------------------------------------------------------------------
2728

@@ -70,6 +71,7 @@ run opts = do
7071
logm $ "run entered for hie-wrapper(" ++ progName ++ ") " ++ version
7172
d <- getCurrentDirectory
7273
logm $ "Current directory:" ++ d
74+
logm $ "Operating system:" ++ os
7375

7476
-- Get the cabal directory from the ghc-mod cradle
7577
(mcr,_) <- GM.runGhcModT GM.defaultOptions GM.cradle

0 commit comments

Comments
 (0)