Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Commit ef5542d

Browse files
committed
Update README
1 parent 1ea8202 commit ef5542d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ foundation on which to base production software.
1212
While end-users _can_ build the platform themselves, it is generally recommended,
1313
if possible, to use the prebuilt binaries available from https://www.haskell.org/platform/
1414

15+
The platform distribution and tooling are more intended instead for those wishing to package a platform installer for use by others.
16+
1517
DISTRIBUTION
1618
------------
1719
The platform comes in several forms:
@@ -29,7 +31,7 @@ Development usually happens in other branches.
2931
includes the sources of the packages that make up the platform, and excludes
3032
some of the ancillary things in the source repo. You can use this to build
3133
the platform without access to hackage or even an internet connection. You still
32-
need a GHC bindist.
34+
need a GHC bindist, as well as cabal and stack binaries, either built from source or available from their respective websites.
3335

3436
*installer* - For Windows and OS X, the platform is distributed as a standard
3537
installer for the operating system. It contains a fully built version of the
@@ -73,12 +75,15 @@ installer packages.
7375

7476
In either the source repo or unpacked source tarball, simply run this:
7577

76-
./platform.sh $PATH_TO_GHC_BINDIST_TARBALL
78+
./platform.sh $PATH_TO_GHC_BINDIST_TARBALL $PATH_TO_CABAL_EXECUTABLE $PATH_TO_STACK_EXECUTABLE
7779

7880
This will build the hptool itself, and then use that tool to build first the
7981
platform source tarball, and finally the hermetic build of all the platform
8082
packages.
8183

84+
By default this now builds a "minimal" installer that does not install libraries beyond core. To build a "full" installer
85+
with a broader range of libraries pre-installed in the global store, pass a "-f" option.
86+
8287
If you are building for a Posix like system (Linux, or BSD), then you can add
8388
the command line option --prefix to specify where, on the target system the
8489
tree of built things will be placed. It defaults to "/usr/local/haskell". The

0 commit comments

Comments
 (0)