diff options
author | https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus <Jimmy@web> | 2012-08-01 18:20:48 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-08-01 18:20:48 +0000 |
commit | ef327ed5449901eab3ada5dc5d13e1ba0ad98aec (patch) | |
tree | 0deea9c2e898f8801a08a29e0910349b10dc94f9 /doc/bugs/Build_failure_at_commit_1efe4f3.mdwn | |
parent | b5bf025e6fa7b416a45367211684a6030f36251d (diff) |
Diffstat (limited to 'doc/bugs/Build_failure_at_commit_1efe4f3.mdwn')
-rw-r--r-- | doc/bugs/Build_failure_at_commit_1efe4f3.mdwn | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/bugs/Build_failure_at_commit_1efe4f3.mdwn b/doc/bugs/Build_failure_at_commit_1efe4f3.mdwn new file mode 100644 index 000000000..a82d6d045 --- /dev/null +++ b/doc/bugs/Build_failure_at_commit_1efe4f3.mdwn @@ -0,0 +1,44 @@ +Applying this + +<pre> +laplace:git-annex jtang$ git diff +diff --git a/Assistant/WebApp/Configurators.hs b/Assistant/WebApp/Configurators.hs +index b9630b1..bf36e59 100644 +--- a/Assistant/WebApp/Configurators.hs ++++ b/Assistant/WebApp/Configurators.hs +@@ -101,7 +101,7 @@ checkRepositoryPath p = do + - + - If run in another directory, the user probably wants to put it there. -} + defaultRepositoryPath :: Bool -> IO FilePath +-defaultRepositoryPath firstrun = do ++defaultRepositoryPath firstRun = do + cwd <- liftIO $ getCurrentDirectory + home <- myHomeDir + if home == cwd && firstRun +</pre> + +Causes this to occur, + +<pre> +Assistant/WebApp/Configurators.hs:114:17: + Couldn't match expected type `Control.Monad.Trans.RWS.Lazy.RWST + (Maybe (Env, FileEnv), WebApp, [Yesod.Form.Types.Lang]) + Enctype + Ints + (GHandler WebApp WebApp) + t0' + with actual type `Text' + Expected type: String + -> Control.Monad.Trans.RWS.Lazy.RWST + (Maybe (Env, FileEnv), WebApp, [Yesod.Form.Types.Lang]) + Enctype + Ints + (GHandler WebApp WebApp) + t0 + Actual type: String -> Text + In the first argument of `(.)', namely `T.pack' + In the first argument of `(<$>)', namely + `T.pack . addTrailingPathSeparator' +make: *** [git-annex] Error 1 +</pre> + |