Leah Neukirchen 2021-07-28 14:46:44 +02:00
parent ce469c9962
commit e6610b1733

View file

@ -1,7 +1,7 @@
# Template file for 'stack' # Template file for 'stack'
pkgname=stack pkgname=stack
version=2.7.1 version=2.7.1
revision=1 revision=2
_stackage="lts-17.5" _stackage="lts-17.5"
hostmakedepends="cabal-install pkg-config unzip" hostmakedepends="cabal-install pkg-config unzip"
makedepends="zlib-devel pcre-devel" makedepends="zlib-devel pcre-devel"
@ -21,7 +21,8 @@ nopie_files="/usr/bin/stack"
do_build() { do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
HOME=$PWD cabal update HOME=$PWD cabal update
HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info HOME=$PWD cabal new-build ${makejobs} --flag disable-git-info \
--constraint 'lukko -ofd-locking' # https://github.com/haskell/cabal/issues/7313
} }
do_install() { do_install() {