Skip to content

Commit 6a7d835

Browse files
committed
Remove linux-nixpkgs configuration from README
This configuration no longer exists. We could define an empty configuration with that name, but Bazel doesn't seem to support that without a hack.
1 parent 757e382 commit 6a7d835

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,26 +254,26 @@ This chooses the `cc_toolchain` bundled with GHC.
254254
### Configuring your platform
255255

256256
`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
258258
distribution. In case of nixpkgs other toolchains (C compiler, Python, shell
259259
tools) will also be provided by nixpkgs, in case of bindist they will be taken
260260
from the environment (`$PATH`). The following `--config` options select the
261261
corresponding combination of operating system and GHC distribution:
262262

263263
| | Linux | MacOS | Windows |
264264
| ------------------- | --------------- | --------------- | ----------------- |
265-
| nixpkgs | `linux-nixpkgs` | `macos-nixpkgs` | |
266-
| binary distribution | `linux-bindist` | `macos-bindist` | `windows-bindist` |
265+
| Nixpkgs | (unneeded) | `macos-nixpkgs` | (unsupported) |
266+
| Binary distribution | `linux-bindist` | `macos-bindist` | `windows-bindist` |
267267

268268
Hint: You can use Bazel's `--announce_rc` flag to see what options are being
269269
used for a command in a specific configuration. E.g.
270270
```
271-
$ bazel build //tests:run-tests --config linux-nixpkgs --nobuild --announce_rc
271+
$ bazel build //tests:run-tests --config linux-bindist --nobuild --announce_rc
272272
```
273273

274274
Hint: To avoid repetition you can add your configuration to `.bazelrc.local`.
275275
```
276-
echo "build --config=linux-nixpkgs" >>.bazelrc.local
276+
echo "build --config=linux-bindist" >>.bazelrc.local
277277
```
278278

279279
### Saving common command-line flags to a file

0 commit comments

Comments
 (0)