diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2016-01-17 21:26:48 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2016-01-17 21:29:57 +0100 |
commit | 1cbb658fcbde206c281cfbc117101af47356b2e5 (patch) | |
tree | 22876ec108ef9fb7b10da64eeea51133679cee11 /Distribution/Helper.hs | |
parent | c1b8fa2c397355076323c97c976b7d2cfd46504c (diff) |
Fix GHC 8.0 errors
Diffstat (limited to 'Distribution/Helper.hs')
-rw-r--r-- | Distribution/Helper.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Distribution/Helper.hs b/Distribution/Helper.hs index 729586b..a847567 100644 --- a/Distribution/Helper.hs +++ b/Distribution/Helper.hs @@ -416,7 +416,7 @@ findLibexecExe :: String -> IO FilePath findLibexecExe "cabal-helper-wrapper" = do libexecdir <- getLibexecDir let exeName = "cabal-helper-wrapper" - exe = libexecdir </> exeName <.> exeExtension + exe = libexecdir </> exeName <.> exeExtension' exists <- doesFileExist exe @@ -476,3 +476,6 @@ getExecutablePath' = lookupEnv' :: String -> IO (Maybe String) lookupEnv' k = lookup k <$> getEnvironment + +exeExtension' :: FilePath +exeExtension' = Distribution.Simple.BuildPaths.exeExtension |