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

Felix Yan felixonmars at archlinux.org
Wed Feb 26 20:21:05 UTC 2020


    Date: Wednesday, February 26, 2020 @ 20:21:04
  Author: felixonmars
Revision: 583133

upgpkg: stack 2.1.3.20200209-46: rebuild with persistent-template 2.8.0

Modified:
  stack/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-26 20:04:32 UTC (rev 583132)
+++ PKGBUILD	2020-02-26 20:21:04 UTC (rev 583133)
@@ -4,7 +4,7 @@
 pkgname=stack
 pkgver=2.1.3.20200209
 _commit=35f5d869558c4ac8c50e33c4930b0b72cb173b8b
-pkgrel=45
+pkgrel=46
 pkgdesc="The Haskell Tool Stack"
 url="https://github.com/commercialhaskell/stack"
 license=("BSD")
@@ -40,7 +40,7 @@
 prepare() {
   cd $pkgname
   hpack
-  sed -i -e '/semigroups/d' $pkgname.cabal
+  sed -i -e '/semigroups/d' -e '/default-language:/a \  default-extensions:\n    StandaloneDeriving\n    DerivingStrategies' $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