Commit f0c712fb authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Check for cabal-install source-files earlier in build.

Signed-off-by: default avatarEdward Z. Yang <>
parent 445a7da9
......@@ -18,6 +18,12 @@ cd Cabal
./misc/ Cabal.cabal
cd ../cabal-install
../Cabal/misc/ cabal-install.cabal
cd ../Cabal
# Build the setup script in the same way that cabal-install would:
mkdir -p ./dist/setup
cp Setup.hs ./dist/setup/setup.hs
......@@ -67,8 +73,6 @@ install_from_tarball
# ---------------------------------------------------------------------
cd ../cabal-install
../Cabal/misc/ cabal-install.cabal
cabal install happy
cabal install --only-dependencies --enable-tests --enable-benchmarks
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment