aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Compiletime/Compat/Environment.hs
blob: 15cf05a6eeebbc9a4a695ee92f5594ea7e0c8163 (plain) (blame)
1
2
3
4
5
6
module CabalHelper.Compiletime.Compat.Environment where

import System.Environment

lookupEnv :: String -> IO (Maybe String)
lookupEnv var = lookup var <$> getEnvironment