Fix runLeanWhereIs on windows

This commit is contained in:
Julian Ospald 2021-07-19 16:56:28 +02:00
parent eaad2caf25
commit bc13a4555d
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
1 changed files with 3 additions and 1 deletions

View File

@ -1533,7 +1533,9 @@ Report bugs at <https://gitlab.haskell.org/haskell/ghcup-hs/issues>|]
let
runLeanWhereIs =
runLogger
. runLeanAppState
-- Don't use runLeanAppState here, which is disabled on windows.
-- This is the only command on all platforms that doesn't need full appstate.
. flip runReaderT leanAppstate
. runE
@'[ NotInstalled
, NoToolVersionSet