Skip to content

Commit 03ff85c

Browse files
committed
Add note about how to start with bzlmod
1 parent 92302f4 commit 03ff85c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,15 @@ In a fresh directory, run:
3939
$ curl https://haskell.build/start | sh
4040
```
4141

42+
Alternatively, if you want to start a project with bzlmod, run:
43+
44+
```console
45+
$ sh <(curl https://haskell.build/start) --with-bzlmod=true
46+
```
47+
4248
This will generate initial `WORKSPACE` and `BUILD` files for you. See the
4349
[examples](./examples) and the [API reference](#Rules) below to adapt these for
44-
you project. Then,
50+
your project. Then,
4551

4652
```console
4753
$ bazel build //... # Build all targets
@@ -52,6 +58,7 @@ You can learn more about Bazel's command line
5258
syntax [here][bazel-cli]. Common [commands][bazel-cli-commands] are
5359
`build`, `test`, `run` and `coverage`.
5460

61+
5562
### Nixpkgs
5663

5764
This rule set supports using [Nixpkgs][nixpkgs] to provision your GHC

0 commit comments

Comments
 (0)