File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33This utility is only intended for use in building cabal-install
44on 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
77The typical usage is porting to a new linux architecture,
88then 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,
You can’t perform that action at this time.
0 commit comments