-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
binwalk: add missing dependencies & versionCheckHook #373404
Conversation
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.
I didn't cherry-pick to test, but changes look good and reasonable
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.
binwalk: use upstream lock file
Technically we just switched to vendoring and we probably copied the lockfile before from upstream but nit picks.
pkgs/by-name/bi/binwalk/package.nix
Outdated
@@ -18,16 +45,42 @@ rustPlatform.buildRustPackage rec { | |||
repo = "binwalk"; | |||
tag = "v${version}"; | |||
hash = "sha256-em+jOnhCZH5EEJrhXTHmxiwpMcBr5oNU1+5IJ1H/oco="; | |||
fetchSubmodules = true; |
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.
The repo contains no .gitmodules file. Why do we need this?
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.
Oh, I see. I wasn't sure what modules it fetched, thought it was some rust ones and wanted to get all the optional ones. Gitmodules makes more sense.
Do we upload the lockfiles into nixpkgs now? since I still saw packages removing them and using useFetchCargoVendor, or I'm not sure I quite understand the sentence correctly. |
@KSJ2000 srec2bin has been merged, so after a rebase it should be possible to also add this package. |
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.