-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buildGoModule: deprecate vendorSha256 attribute #259999
Conversation
f049947
to
c301c2e
Compare
Is the plan to fully drop it after a release or two? |
As far as I know, no. |
@@ -297,6 +297,7 @@ let | |||
} // meta; | |||
}); | |||
in | |||
lib.warnIf (args' ? vendorSha256) "`vendorSha256` is deprecated. Use `vendorHash` instead" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we not missing a third argument to warnIf
, as its docstring says? After I've updated nixpkgs
in the flake definition where I keep my NixOS configuration, I get an error whenever I run nixos-rebuild switch --flake . --show-trace
:
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)