Skip to content

Commit

Permalink
readme: mention --extra-nixpkgs-config
Browse files Browse the repository at this point in the history
  • Loading branch information
figsoda committed Feb 27, 2023
1 parent c4a28dd commit 6ffaffa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@ nix-shell> nixpkgs-review comments
`nixpkgs-review` will by default use [nix-output-monitor](https://github.com/maralorn/nix-output-monitor) if found in `$PATH`.
If you have `nom` installed but don't want to use it, you can pass `nix` to `--build-graph` to use `nix build` instead of `nom build`.

Some pull requests may require configuration for nixpkgs to test out. You can
use the `--extra-nixpkgs-config` flag to supply extra configuration for nixpkgs.

```console
$ nixpkgs-review pr 37242 --extra-nixpkgs-config '{ config.cudaSupport = true; }'
```

## Using nixpkgs-review in scripts or other programs

After building, `nixpkgs-review` will normally start a `nix-shell` with the
Expand Down

0 comments on commit 6ffaffa

Please sign in to comment.