|  | 
| 2 | 2 | 
 | 
| 3 | 3 | # Haskell rules for [Bazel][bazel] | 
| 4 | 4 | 
 | 
| 5 |  | - | 
|  | 5 | +[](https://github.com/tweag/rules_haskell/actions?query=branch%3Amaster) | 
| 6 | 6 | [](https://dev.azure.com/tweag/rules_haskell/_build/latest?definitionId=1?branchName=master) | 
| 7 | 7 | 
 | 
| 8 | 8 | Bazel automates building and testing software. It scales to very large | 
| @@ -254,26 +254,26 @@ This chooses the `cc_toolchain` bundled with GHC. | 
| 254 | 254 | ### Configuring your platform | 
| 255 | 255 | 
 | 
| 256 | 256 | `rules_haskell` can be built and tested on Linux, MacOS, and Windows. Depending | 
| 257 |  | -on the platform GHC can be provisioned using Nixpkgs or by downloading a binary | 
|  | 257 | +on the platform GHC can be provisioned using nixpkgs or by downloading a binary | 
| 258 | 258 | distribution. In case of nixpkgs other toolchains (C compiler, Python, shell | 
| 259 | 259 | tools) will also be provided by nixpkgs, in case of bindist they will be taken | 
| 260 | 260 | from the environment (`$PATH`). The following `--config` options select the | 
| 261 | 261 | corresponding combination of operating system and GHC distribution: | 
| 262 | 262 | 
 | 
| 263 | 263 | |                     |      Linux      |      MacOS      |      Windows      | | 
| 264 | 264 | | ------------------- | --------------- | --------------- | ----------------- | | 
| 265 |  | -| Nixpkgs             | (unneeded)      | `macos-nixpkgs` | (unsupported)     | | 
| 266 |  | -| Binary distribution | `linux-bindist` | `macos-bindist` | `windows-bindist` | | 
|  | 265 | +| nixpkgs             | `linux-nixpkgs` | `macos-nixpkgs` |                   | | 
|  | 266 | +| binary distribution | `linux-bindist` | `macos-bindist` | `windows-bindist` | | 
| 267 | 267 | 
 | 
| 268 | 268 | Hint: You can use Bazel's `--announce_rc` flag to see what options are being | 
| 269 | 269 | used for a command in a specific configuration. E.g. | 
| 270 | 270 | ``` | 
| 271 |  | -$ bazel build //tests:run-tests --config linux-bindist --nobuild --announce_rc | 
|  | 271 | +$ bazel build //tests:run-tests --config linux-nixpkgs --nobuild --announce_rc | 
| 272 | 272 | ``` | 
| 273 | 273 | 
 | 
| 274 | 274 | Hint: To avoid repetition you can add your configuration to `.bazelrc.local`. | 
| 275 | 275 | ``` | 
| 276 |  | -echo "build --config=linux-bindist" >>.bazelrc.local | 
|  | 276 | +echo "build --config=linux-nixpkgs" >>.bazelrc.local | 
| 277 | 277 | ``` | 
| 278 | 278 | 
 | 
| 279 | 279 | ### Saving common command-line flags to a file | 
|  | 
0 commit comments