Skip to content

Commit

Permalink
Pass along RTS args from wrapper to HLS.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdsmith committed Sep 21, 2021
1 parent 48221c7 commit e9ea4f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exe/Wrapper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Data.Foldable
import Data.List
import Data.Void
import qualified Development.IDE.Session as Session
import GHC.Environment
import qualified HIE.Bios.Environment as HieBios
import HIE.Bios.Types
import Ide.Arguments
Expand Down Expand Up @@ -72,7 +73,7 @@ launchHaskellLanguageServer parsedArgs = do
++ hlsVersion
hPutStrLn stderr $ "Current directory: " ++ d
hPutStrLn stderr $ "Operating system: " ++ os
args <- getArgs
args <- getFullArgs
hPutStrLn stderr $ "Arguments: " ++ show args
hPutStrLn stderr $ "Cradle directory: " ++ cradleRootDir cradle
hPutStrLn stderr $ "Cradle type: " ++ show (actionName (cradleOptsProg cradle))
Expand Down

0 comments on commit e9ea4f7

Please sign in to comment.