summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2024-07-13 16:04:05 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2024-07-13 16:04:07 +0200
commitf696c9602804fee34684cdbdd43a97d81f13c38b (patch)
tree2d9c648116cfb0c02f79591be241fe438f56b2ae /shell.nix
parentb80884dcae0fa6fd2d089f7692f24bc9fbab9dc2 (diff)
root: add nixpkgs-review to shell.nix
nixpkgs-review is endorsed in CONTRIBUTING.md, as well as in the default PR description template. It would be very useful to include this utility in our shell.nix. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/shell.nix b/shell.nix
index b6480290b650..db447040db9d 100644
--- a/shell.nix
+++ b/shell.nix
@@ -22,9 +22,12 @@ let
};
in
pkgs.mkShellNoCC {
- packages = [
+ packages = with pkgs; [
# The default formatter for Nix code
- # https://github.com/NixOS/nixfmt
- pkgs.nixfmt-rfc-style
+ # See https://github.com/NixOS/nixfmt
+ nixfmt-rfc-style
+ # Helper to review Nixpkgs PRs
+ # See CONTRIBUTING.md
+ nixpkgs-review
];
}