Skip to content

Commit 61b1f40

Browse files
committed
Reverted bootstrap/README.md
1 parent b6fcc3e commit 61b1f40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bootstrap/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This utility is only intended for use in building cabal-install
44
on a new platform. If you already have a functional (if dated) cabal-install
5-
please rather run `cabal install`.
5+
please rather run `cabal v2-install`.
66

77
The typical usage is porting to a new linux architecture,
88
then the `linux-{ghc-ver}.json` file is available in the `bootstrap/` folder:
@@ -30,10 +30,10 @@ To generate the `platform-{ghc-ver}` files for other platforms, do:
3030
2. Build a dependency description file (`$PLATFORM-$GHCVER.json`, e.g. `linux-8.8.4.json`) by running:
3131

3232
```sh
33-
cabal build --with-compiler=/path/to/ghc --dry-run cabal-install:exe:cabal
33+
cabal v2-build --with-compiler=/path/to/ghc --dry-run cabal-install:exe:cabal
3434
cp dist-newstyle/cache/plan.json bootstrap/$PLATFORM-$GHCVER.plan.json
3535
cd bootstrap
36-
cabal run -v0 cabal-bootstrap-gen -- $PLATFORM-$GHCVER.plan.json | tee $PLATFORM-$GHCVER.json
36+
cabal v2-run -v0 cabal-bootstrap-gen -- $PLATFORM-$GHCVER.plan.json | tee $PLATFORM-$GHCVER.json
3737
```
3838

3939
3. You may need to tweak `bootstrap/$PLATFORM-$GHCVER.json` file manually,

0 commit comments

Comments
 (0)