shell.nix: remove nixpkgs-review#373945
shell.nix: remove nixpkgs-review#373945paparodeo wants to merge 1 commit intoNixOS:masterfrom paparodeo:no-nixpkgs-revew-in-shell.nix
Conversation
current version of nixpkgs-review is 3.0.1 but the pinned version in `shell.nix` is 2.12.0. This version doesn't work with the new CI and seems to just post empty results when used with a github token.A unlike nixfmt, nixpkgs-review doesn't need to be pinned
|
cc @Scrumplex |
In that case, why don't we just update the version pin? From what I can tell, we only pin the version to avoid rebuilds of the shell during development. |
either way -- remove it or make it work. the current situation is not great. if no one is going to be maintaining it to keep it up to date it should be removed. |
|
maybe pull diff --git a/shell.nix b/shell.nix
index ecb444e75ec0..18f5a60eca8b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -28,12 +28,13 @@ let
in
curPkgs
// pkgs.mkShellNoCC {
- packages = with pkgs; [
+ packages = (with pkgs; [
# The default formatter for Nix code
# See https://github.com/NixOS/nixfmt
nixfmt-rfc-style
+ ]) ++ (with curPkgs; [
# Helper to review Nixpkgs PRs
# See CONTRIBUTING.md
nixpkgs-review
- ];
+ ]);
}? |
|
Can we update the pin for CI instead, so that it encompasses dc208d2 (nixpkgs-review: 3.0.0 -> 3.0.1)? Have there been breaking changes on the nixfmt-rfc-style that would prevent that? I don't see any, based on commits to |
|
having a broken tools seems ok. |
|
I think this has now been remedied in #376039 Thanks @Scrumplex |
current version of nixpkgs-review is 3.0.1 but the pinned version in
shell.nixis 2.12.0. This version doesn't work with the new CI and seems to just post empty results when used with a github token.Aunlike nixfmt, nixpkgs-review doesn't need to be pinned
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.