aboutsummaryrefslogtreecommitdiff
path: root/Distribution
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-01-16 11:03:10 +0100
committerDaniel Gröber <dxld@darkboxed.org>2017-01-16 17:49:21 +0100
commit1d785987a518919c9d5f1f579f5eb206460b7d2f (patch)
tree734eee4fa6929b9acbe5c9afcde61123c9654138 /Distribution
parent698333df9cb8cf5061f2b70c872e76186a85a659 (diff)
Copy over Setup.hs from ghc-mod
Diffstat (limited to 'Distribution')
-rw-r--r--Distribution/Helper.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Distribution/Helper.hs b/Distribution/Helper.hs
index b16e989..aa6042d 100644
--- a/Distribution/Helper.hs
+++ b/Distribution/Helper.hs
@@ -415,8 +415,7 @@ instance Show LibexecNotFoundError where
findLibexecExe :: IO FilePath
findLibexecExe = do
libexecdir <- getLibexecDir
- let Version (mj:mi:_) _ = version
- exeName = "cabal-helper-wrapper-v" ++ show mj ++ "." ++ show mi
+ let exeName = "cabal-helper-wrapper"
exe = libexecdir </> exeName <.> exeExtension'
exists <- doesFileExist exe