stack: update to 1.4.0.

This commit is contained in:
Leah Neukirchen 2017-04-12 15:33:46 +02:00
parent 85ef85c926
commit 8475a07947
3 changed files with 12 additions and 12 deletions

View file

@ -17,11 +17,12 @@ do_build() {
stack init --force --resolver ${stackage}
fi
STACK_ROOT=$wrksrc/.stack stack ${makejobs} build ${make_build_args}
STACK_ROOT=$wrksrc/.stack stack --system-ghc ${makejobs} build \
${make_build_args}
}
do_install() {
vmkdir usr/bin
STACK_ROOT=$wrksrc/.stack stack install ${make_build_args} \
--local-bin-path=${DESTDIR}/usr/bin
STACK_ROOT=$wrksrc/.stack stack --system-ghc install \
${make_build_args} --local-bin-path=${DESTDIR}/usr/bin
}