[arch-commits] Commit in haskell-language-server/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Mar 22 14:16:36 UTC 2021


    Date: Monday, March 22, 2021 @ 14:16:36
  Author: felixonmars
Revision: 898957

add -dynamic to test cabal files

Modified:
  haskell-language-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-22 14:16:19 UTC (rev 898956)
+++ PKGBUILD	2021-03-22 14:16:36 UTC (rev 898957)
@@ -19,7 +19,7 @@
          'haskell-lsp' 'haskell-optparse-applicative' 'haskell-optparse-simple' 'haskell-ormolu'
          'haskell-regex-tdfa' 'haskell-safe-exceptions' 'haskell-shake' 'haskell-sqlite-simple'
          'stylish-haskell' 'haskell-temporary' 'haskell-unordered-containers' 'haskell-with-utf8')
-makedepends=('ghc' 'haskell-blaze-markup' 'haskell-hspec' 'haskell-hspec-core'
+makedepends=('ghc' 'uusi' 'haskell-blaze-markup' 'haskell-hspec' 'haskell-hspec-core'
              'haskell-hspec-expectations' 'haskell-lsp-test' 'haskell-megaparsec' 'haskell-tasty'
              'haskell-tasty-ant-xml' 'haskell-tasty-expected-failure' 'haskell-tasty-golden'
              'haskell-tasty-hunit' 'haskell-tasty-rerun' 'haskell-yaml')
@@ -28,6 +28,11 @@
 source=("https://github.com/haskell/haskell-language-server/archive/ghcide-v1.1.0/haskell-language-server-ghcide-v1.1.0.tar.gz")
 sha256sums=('ec611943b46027488d85135eb61245ea7cbd892ed9825b1456a4b74e0eb5a713')
 
+prepare() {
+  cd haskell-language-server-ghcide-v1.1.0
+  find test/testdata -name \*.cabal -exec uusi --add-options-all=-dynamic {} \;
+}
+
 build() {
   cd haskell-language-server-ghcide-v1.1.0
 



More information about the arch-commits mailing list