Skip to content

Commit

Permalink
Always use v2-sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Mar 24, 2021
1 parent 6422178 commit ae8a754
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions utils/makePackages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,13 @@ copy_patch_boot_package_sdist() {
# collect the files of the upstream package by making a source distribution
(
cd "$PKGSRC"
rm -f "dist-install/$PKG-*.tar.gz"
cabal "${CMDPREFIX}sdist" --builddir=dist-install
rm -f "dist-install/sdist/$PKG-*.tar.gz"
echo 'packages: .' > cabal.project
cabal "v2-sdist" --builddir=dist-install
rm cabal.project
)
# unpack the source distribution
for SRCDISTTMP in $PKGSRC/dist-install/$PKG-*.tar.gz; do
for SRCDISTTMP in $PKGSRC/dist-install/sdist/$PKG-*.tar.gz; do
SRCDIST="$SRCDISTTMP"
done
(
Expand Down

0 comments on commit ae8a754

Please sign in to comment.