[arch-commits] Commit in stack/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Mar 4 17:44:10 UTC 2020


    Date: Wednesday, March 4, 2020 @ 17:44:09
  Author: felixonmars
Revision: 590373

update patch

Modified:
  stack/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-04 17:43:49 UTC (rev 590372)
+++ PKGBUILD	2020-03-04 17:44:09 UTC (rev 590373)
@@ -34,13 +34,16 @@
 conflicts=('haskell-stack')
 replaces=('haskell-stack')
 install="stack.install"
-source=("git+https://github.com/commercialhaskell/stack.git#commit=$_commit")
-sha512sums=('SKIP')
+source=("git+https://github.com/commercialhaskell/stack.git#commit=$_commit"
+        persistent-template-2.8.patch)
+sha512sums=('SKIP'
+            '7d5c95dea6b5f1ff830230856bf829b1372228b1fb116da4e186539206089557df65fea9094a89182a3b67ed46c137b0faaf9070ef22b5a2e5ca56380f68fd21')
 
 prepare() {
   cd $pkgname
+  patch -p1 -i ../persistent-template-2.8.patch
   hpack
-  sed -i -e '/semigroups/d' -e '/default-language:/a \  default-extensions:\n    StandaloneDeriving\n    DerivingStrategies' $pkgname.cabal
+  sed -i -e '/semigroups/d' $pkgname.cabal
 
   sed -i -e 's/fail $ "Invalid package name:/error $ "Invalid package name:/' \
          -e 's/fail $ "Invalid CabalConfigKey/error $ "Invalid CabalConfigKey/' \



More information about the arch-commits mailing list