Support building with yesod 1.4.

The new yesod needs the ViewPatterns extension.
Also, a TH splice in Assistant/Threads/WebApp.hs failed to work without
OverLoadedStrings.

This commit was sponsored by Brock Spratlen.
This commit is contained in:
Joey Hess 2014-10-09 16:56:20 -04:00
parent 507e0ca358
commit 164f0d73ff
4 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,7 @@
-}
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
{-# ViewPatterns, OverloadedStrings #-}
{-# LANGUAGE CPP #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

View file

@ -7,7 +7,7 @@
{-# LANGUAGE TypeFamilies, QuasiQuotes, MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell, OverloadedStrings, RankNTypes #-}
{-# LANGUAGE FlexibleInstances, FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances, FlexibleContexts, ViewPatterns #-}
{-# LANGUAGE CPP #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

1
debian/changelog vendored
View file

@ -1,6 +1,7 @@
git-annex (5.20140928) UNRELEASED; urgency=medium
* Adjust cabal file to support building w/o assistant on the hurd.
* Support building with yesod 1.4.
-- Joey Hess <joeyh@debian.org> Mon, 29 Sep 2014 14:07:51 -0400

View file

@ -19,3 +19,6 @@ Latest
# End of transcript or log.
"""]]
> [[fixed|done]], although I have not made a release yet.
> It's a 1 line change anyhow, just adding ViewPatterns. --[[Joey]]