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

View File

@ -1533,7 +1533,9 @@ Report bugs at <https://gitlab.haskell.org/haskell/ghcup-hs/issues>|]
let let
runLeanWhereIs = runLeanWhereIs =
runLogger 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 . runE
@'[ NotInstalled @'[ NotInstalled
, NoToolVersionSet , NoToolVersionSet