Data.Tuple.swap not available with ghc 6.12.3

This commit is contained in:
Joey Hess 2011-05-28 11:56:48 -04:00
parent 7db690bdc2
commit c38f826435
2 changed files with 4 additions and 1 deletions

View file

@ -9,3 +9,6 @@ make: *** [git-annex] Error 1
</pre>
it fails on OSX 10.6.x with ghc 6.12.3 and a corresponding haskell-platform install. I ran a bisect and found that commit 75a3f5027f74565d909fb940893636d081d9872a seems to have broken git-annex for me, reverting the commit allows me to build git-annex, I have not run the tests to verify everything is working correctly though.
> Probably `swap` appeared only in a newer GHC. I've reverted to avoid a
> versioned build dependency. [[done]] --[[Joey]]