Open hmenke opened 2 years ago
That is a bug in ofborg or a stale ofborg result. Try nix-shell -p nixpkgs-review --run "nixpkgs-review pr --eval local 169058"
This might also resolve it: rm -r /home/henri/.cache/nixpkgs-review
Thank you, this works really well! Would it be possible to print a more helpful error message in these cases or automatically attempt a local evaluation?
Yeah, we should display a better error message but I am against trying another eval because it uses a lot of RAM.
When I tried to review a PR using
nix-shell -p nixpkgs-review --run "nixpkgs-review pr 169058"
I received an error about a missing attribute:What is weird, however, is that when I take the command before the error and paste it into the spawned shell it runs through without problems.
nixpkgs-review version: https://github.com/NixOS/nixpkgs/blob/faad370edcb37162401be50d45526f52bb16a713/pkgs/tools/package-management/nixpkgs-review/default.nix