[commit: ghc] wip/nfs-locking: Fixes the -B path for the ghcWrapper. (d9d00b8)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:20:32 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/d9d00b86b79d998a288c5a2ffd2520d01b9c72e5/ghc

>---------------------------------------------------------------

commit d9d00b86b79d998a288c5a2ffd2520d01b9c72e5
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date:   Thu Dec 31 10:40:37 2015 +0800

    Fixes the -B path for the ghcWrapper.


>---------------------------------------------------------------

d9d00b86b79d998a288c5a2ffd2520d01b9c72e5
 src/Rules/Wrappers/Ghc.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Rules/Wrappers/Ghc.hs b/src/Rules/Wrappers/Ghc.hs
index 93ceba0..c24bb70 100644
--- a/src/Rules/Wrappers/Ghc.hs
+++ b/src/Rules/Wrappers/Ghc.hs
@@ -11,4 +11,4 @@ ghcWrapper program = do
     return $ unlines
         [ "#!/bin/bash"
         , "exec " ++ (top -/- program)
-          ++ " -B" ++ (top -/- takeDirectory program) ++ " ${1+\"$@\"}" ]
+          ++ " -B" ++ (top -/- "inplace" -/- "lib") ++ " ${1+\"$@\"}" ]



More information about the ghc-commits mailing list