diff options
Diffstat (limited to 'Distribution')
-rw-r--r-- | Distribution/Helper.hs | 3 |
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 |