File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
ghcide/session-loader/Development/IDE/Session Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 55-- See https://github.com/haskell/ghcide/pull/697
66module Development.IDE.Session.VersionCheck (ghcVersionChecker ) where
77
8- import Data.Maybe
9- import GHC.Check
8+ import GHC.Check
109-- Only use this for checking against the compile time GHC libDir!
1110-- Use getRuntimeGhcLibDir from hie-bios instead for everything else
1211-- otherwise binaries will not be distributable since paths will be baked into them
1312import qualified GHC.Paths
14- import System.Environment
1513
1614ghcVersionChecker :: GhcVersionChecker
17- ghcVersionChecker = $$ (makeGhcVersionChecker (fromMaybe GHC.Paths. libdir <$> lookupEnv " NIX_GHC_LIBDIR " ))
15+ ghcVersionChecker = $$ (makeGhcVersionChecker (return GHC.Paths. libdir))
You can’t perform that action at this time.
0 commit comments