on master help sign in
Update readme for later GHCs
commita10d430e5b0ac4e654b26e5be78b5b0eee6ba9d3 authorMichael Snoyman <michael@snoyman.com> dateMon 20 May 2013, 13:06 (13 years ago) parent88cccc7
2 files changed+17−1
README.md+16 full-run.sh+1−1
README.md+16
@@ -48,3 +48,19 @@ Notes
4848Make sure to have Cabal-1.16 installed in either your global or user database,
4949regardless of any sandboxing, as custom build types require it to be present.
5050You 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 @@
11#!/bin/bash -ex
22
3−runghc app/stackage.hs select
3+runghc app/stackage.hs select $*
44runghc app/stackage.hs check
55runghc app/stackage.hs build
66runghc app/stackage.hs test