Skip to content

Commit

Permalink
stack: disable ofd-locking in lukko.
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jul 28, 2021
1 parent bb21608 commit 57be995
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions srcpkgs/stack/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'stack'
pkgname=stack
version=2.7.1
revision=1
revision=2
_stackage="lts-17.5"
hostmakedepends="cabal-install pkg-config unzip"
makedepends="zlib-devel pcre-devel"
Expand All @@ -21,7 +21,8 @@ nopie_files="/usr/bin/stack"
do_build() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config
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() {
Expand Down

0 comments on commit 57be995

Please sign in to comment.