This is an annoying bug in haskell, I hope they fix it soon..
delete the package environment file named in the log:
rm /Users/Gabriel/.ghc/x86_64-darwin-8.8.3/environments/default
then re-run cabal install tidal --lib
That should quickly fix it