summaryrefslogtreecommitdiff
path: root/libraries/base/System/Environment.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/System/Environment.hs')
-rw-r--r--libraries/base/System/Environment.hs11
1 files changed, 7 insertions, 4 deletions
diff --git a/libraries/base/System/Environment.hs b/libraries/base/System/Environment.hs
index 7be95adb60..1f3321327e 100644
--- a/libraries/base/System/Environment.hs
+++ b/libraries/base/System/Environment.hs
@@ -17,10 +17,11 @@
module System.Environment
(
- getArgs, -- :: IO [String]
- getProgName, -- :: IO String
- getEnv, -- :: String -> IO String
- lookupEnv, -- :: String -> IO (Maybe String)
+ getArgs, -- :: IO [String]
+ getProgName, -- :: IO String
+ getExecutablePath, -- :: IO FilePath
+ getEnv, -- :: String -> IO String
+ lookupEnv, -- :: String -> IO (Maybe String)
#ifndef __NHC__
withArgs,
withProgName,
@@ -61,6 +62,8 @@ import System
)
#endif
+import System.Environment.ExecutablePath
+
#ifdef mingw32_HOST_OS
# if defined(i386_HOST_ARCH)
# define WINDOWS_CCONV stdcall