nixpkgs-review: add page (#11791)

* nixpkgs-review: add page

* nixpkgs-review: minor improvements

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Lena 2023-12-20 00:51:24 +01:00 committed by GitHub
parent 1a4fd7bebc
commit 09037992f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# nixpkgs-review
> Review pull requests in the NixOS packages repository (nixpkgs).
> After a successful build, a `nix-shell` with all built packages is started.
> More information: <https://github.com/Mic92/nixpkgs-review#usage>.
- Build changed packages in the specified pull request:
`nixpkgs-review pr {{pr_number|pr_url}}`
- Build changed packages and post a comment with a report (requires setting up a token in `hub`, `gh`, or the `GITHUB_TOKEN` environment variable):
`nixpkgs-review pr --post-result {{pr_number|pr_url}}`
- Build changed packages and print a report:
`nixpkgs-review pr --print-result {{pr_number|pr_url}}`
- Build changed packages in a local commit:
`nixpkgs-review rev {{HEAD}}`
- Build changed packages that haven't been committed yet:
`nixpkgs-review wip`
- Build changed packages that have been staged:
`nixpkgs-review wip --staged`