on master help sign in
Update readme for later GHCs
a10d430Michael Snoyman
README.md+16
@@ -48,3 +48,19 @@ Notes
48Make sure to have Cabal-1.16 installed in either your global or user database,
48Make sure to have Cabal-1.16 installed in either your global or user database,
49regardless of any sandboxing, as custom build types require it to be present.
49regardless of any sandboxing, as custom build types require it to be present.
50You must build with cabal-install 1.16, due to several important bug fixes.
50You must build with cabal-install 1.16, due to several important bug fixes.
51+
52+Using a non-Haskell Platform versions of GHC
53+--------------------------------------------
54+
55+By default, Stackage bases itself off of the Haskell Platform for determining
56+which packages are core packages, and locks down package versions to match the
57+Haskell Platform selections. This works fine when you are compiling with the
58+same version of GHC as the Haskell Platform was built on. If you're using a
59+different version of GHC, you'll probably need to use the following options for
60+the `select` call:
61+
62+ --no-platform --use-global-db
63+
64+The former says to disregard Haskell Platform package versions, and the latter
65+says to determine which packages are core packages based on their presence in
66+the global package database.
full-run.sh+1−1
@@ -1,6 +1,6 @@
1#!/bin/bash -ex
1#!/bin/bash -ex
2
2
3−runghc app/stackage.hs select
3+runghc app/stackage.hs select $*
4runghc app/stackage.hs check
4runghc app/stackage.hs check
5runghc app/stackage.hs build
5runghc app/stackage.hs build
6runghc app/stackage.hs test
6runghc app/stackage.hs test