[arch-commits] Commit in haskell-lsp-types/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Mar 25 23:02:55 UTC 2021


    Date: Thursday, March 25, 2021 @ 23:02:55
  Author: felixonmars
Revision: 904229

upgpkg: haskell-lsp-types 1.1.0.0-8: rebuild with lens 5

Modified:
  haskell-lsp-types/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-25 23:02:13 UTC (rev 904228)
+++ PKGBUILD	2021-03-25 23:02:55 UTC (rev 904229)
@@ -3,7 +3,7 @@
 _hkgname=lsp-types
 pkgname=haskell-lsp-types
 pkgver=1.1.0.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Haskell library for the Microsoft Language Server Protocol, data types"
 url="https://github.com/alanz/lsp"
 license=("MIT")
@@ -16,6 +16,11 @@
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
 sha256sums=('a4f48e45e298d75635d5be816fc050d273f849d967f8654bd7b9a804396e93a6')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '1i{-# LANGUAGE DataKinds              #-}' src/Language/LSP/Types/Lens.hs
+}
+
 build() {
   cd $_hkgname-$pkgver
 



More information about the arch-commits mailing list