From f5dee82eed5ece2819b33b6bb41b990cdd407b39 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Tue, 19 Sep 2017 21:51:04 +0200 Subject: Remove 'extra' dependency ..constrains dependency versions too much and just causes failures. --- CabalHelper/Compiletime/Compat/Environment.hs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 CabalHelper/Compiletime/Compat/Environment.hs (limited to 'CabalHelper/Compiletime/Compat') diff --git a/CabalHelper/Compiletime/Compat/Environment.hs b/CabalHelper/Compiletime/Compat/Environment.hs new file mode 100644 index 0000000..15cf05a --- /dev/null +++ b/CabalHelper/Compiletime/Compat/Environment.hs @@ -0,0 +1,6 @@ +module CabalHelper.Compiletime.Compat.Environment where + +import System.Environment + +lookupEnv :: String -> IO (Maybe String) +lookupEnv var = lookup var <$> getEnvironment -- cgit v1.2.3