hadrian: handle findExecutable "" gracefully
hadrian may invoke findExecutable "" at run-time due to a certain program is not found by configure script. Which is fine and findExecutable is supposed to return Nothing in this case. However, on Windows there's a directory bug that throws an exception (see https://github.com/haskell/directory/issues/180), so we might as well use a wrapper for findExecutable and handle exceptions gracefully.
- hadrian/src/Hadrian/Utilities.hs 5 additions, 0 deletionshadrian/src/Hadrian/Utilities.hs
- hadrian/src/Rules/Docspec.hs 0 additions, 2 deletionshadrian/src/Rules/Docspec.hs
- hadrian/src/Rules/Lint.hs 0 additions, 1 deletionhadrian/src/Rules/Lint.hs
- hadrian/src/Settings/Builders/RunTest.hs 0 additions, 1 deletionhadrian/src/Settings/Builders/RunTest.hs
-
mentioned in commit bdba94c9
-
mentioned in commit 78150bfc
-
mentioned in commit 095d64f4
-
mentioned in commit 7b26126e
-
mentioned in commit 08fc429b
-
mentioned in commit 6a36a91d
-
mentioned in commit f93ac217
-
mentioned in commit 10a74dcd
-
mentioned in commit 8107b5c5
-
mentioned in commit d9268d03
-
mentioned in commit 77e8741f
-
mentioned in commit 5dc618db
-
mentioned in commit fd0caf2f
-
mentioned in commit c5b9ac0a
-
mentioned in commit 872bc206
-
mentioned in commit cd8e9967
-
mentioned in commit f50be343
-
mentioned in commit ff7a6c49
-
mentioned in commit fbc58e6a
-
mentioned in commit fa626d50
-
mentioned in commit 828db4d8
-
mentioned in commit 76104fb0
-
mentioned in commit c780565a
-
mentioned in commit 2ee67f47
-
mentioned in commit 6bee4d8a
-
mentioned in commit 0290bf4a
-
mentioned in commit c4df1a23