Uses/cabal.mk: Fix cabal-extract
target when GH_TUPLE is present.
The presence of dist-newstyle directory created by unpacking Haskell dependencies from GH_TUPLE makes `cabal` run `git pull` instead of `git clone`.
This commit is contained in:
parent
7c57fa58d1
commit
949672a6be
@ -180,6 +180,7 @@ cabal-extract: check-cabal
|
||||
@cd ${WRKSRC} && ${SETENV} HOME=${CABAL_HOME} ${HPACK_CMD}
|
||||
. endif
|
||||
. endif
|
||||
@${RM} -r ${WRKSRC}/dist-newstyle
|
||||
@${TOUCH} ${EXTRACT_COOKIE} ${CABAL_COOKIE}
|
||||
|
||||
# Calls cabal configure on the Haskell package located in ${WRKSRC}
|
||||
|
Loading…
Reference in New Issue
Block a user