diff options
Diffstat (limited to 'CabalHelper/Compiletime/Compat')
-rw-r--r-- | CabalHelper/Compiletime/Compat/Environment.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CabalHelper/Compiletime/Compat/Environment.hs b/CabalHelper/Compiletime/Compat/Environment.hs index 15cf05a..916f782 100644 --- a/CabalHelper/Compiletime/Compat/Environment.hs +++ b/CabalHelper/Compiletime/Compat/Environment.hs @@ -3,4 +3,4 @@ module CabalHelper.Compiletime.Compat.Environment where import System.Environment lookupEnv :: String -> IO (Maybe String) -lookupEnv var = lookup var <$> getEnvironment +lookupEnv var = do env <- getEnvironment; return (lookup var env) |