File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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+
4248This 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
5258syntax [ here] [ bazel-cli ] . Common [ commands] [ bazel-cli-commands ] are
5359` build ` , ` test ` , ` run ` and ` coverage ` .
5460
61+
5562### Nixpkgs
5663
5764This rule set supports using [ Nixpkgs] [ nixpkgs ] to provision your GHC
You can’t perform that action at this time.
0 commit comments