Edit Utility/Url.hs and play around with the version in the MIN_VERSION_network define. It seems to me that your system needs to build with the #else branch of the #ifdef, despite having a version of the haskell network package older than 2.4.0. It's possible that the haskell network package has been modified by Fedora.

@Michele, you seem to have an old version of the haskell DAV library installed. The simple solutions is probably cabal install DAV to upgrade to the new one.

(The complex solution is to edit the file and copy the line 2 lines above the error, or fix the ifdefs somehow to work with whatever combination of versions of DAV and http-client or http-conduit you have installed.)