[arch-commits] Commit in stack/trunk (persistent-template-2.8.patch)
Felix Yan
felixonmars at archlinux.org
Wed Mar 4 17:44:57 UTC 2020
Date: Wednesday, March 4, 2020 @ 17:44:57
Author: felixonmars
Revision: 590376
add missing patch
Added:
stack/trunk/persistent-template-2.8.patch
-------------------------------+
persistent-template-2.8.patch | 42 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Added: persistent-template-2.8.patch
===================================================================
--- persistent-template-2.8.patch (rev 0)
+++ persistent-template-2.8.patch 2020-03-04 17:44:57 UTC (rev 590376)
@@ -0,0 +1,42 @@
+commit 6fdcc1828221caa77af700b0cca955c805ac7011
+Author: Felix Yan <felixonmars at archlinux.org>
+Date: Thu Feb 27 04:24:17 2020 +0800
+
+ Enable StandaloneDeriving and DerivingStrategies
+
+ This fixes compatibility with persistent-template >= 2.8.0
+
+diff --git a/src/Stack/Storage/Project.hs b/src/Stack/Storage/Project.hs
+index dc5318d8..1dd635c1 100644
+--- a/src/Stack/Storage/Project.hs
++++ b/src/Stack/Storage/Project.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE DerivingStrategies #-}
+ {-# LANGUAGE FlexibleInstances #-}
+ {-# LANGUAGE GADTs #-}
+ {-# LANGUAGE GeneralizedNewtypeDeriving #-}
+@@ -6,6 +7,7 @@
+ {-# LANGUAGE OverloadedStrings #-}
+ {-# LANGUAGE QuasiQuotes #-}
+ {-# LANGUAGE RecordWildCards #-}
++{-# LANGUAGE StandaloneDeriving #-}
+ {-# LANGUAGE TemplateHaskell #-}
+ {-# LANGUAGE TupleSections #-}
+ {-# LANGUAGE TypeFamilies #-}
+diff --git a/src/Stack/Storage/User.hs b/src/Stack/Storage/User.hs
+index 3845b094..ccd5a66f 100644
+--- a/src/Stack/Storage/User.hs
++++ b/src/Stack/Storage/User.hs
+@@ -1,3 +1,4 @@
++{-# LANGUAGE DerivingStrategies #-}
+ {-# LANGUAGE FlexibleInstances #-}
+ {-# LANGUAGE GADTs #-}
+ {-# LANGUAGE GeneralizedNewtypeDeriving #-}
+@@ -6,6 +7,7 @@
+ {-# LANGUAGE OverloadedStrings #-}
+ {-# LANGUAGE QuasiQuotes #-}
+ {-# LANGUAGE RecordWildCards #-}
++{-# LANGUAGE StandaloneDeriving #-}
+ {-# LANGUAGE TemplateHaskell #-}
+ {-# LANGUAGE TupleSections #-}
+ {-# LANGUAGE TypeFamilies #-}
More information about the arch-commits
mailing list