stack: disable ofd-locking in lukko.
https://github.com/haskellari/lukko/issues/15 https://github.com/commercialhaskell/stack/issues/5589
This commit is contained in:
parent
ce469c9962
commit
e6610b1733
1 changed files with 3 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue