-
-
Notifications
You must be signed in to change notification settings - Fork 17.5k
sh4d0wup: init at 0.11.0 #395433
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
sh4d0wup: init at 0.11.0 #395433
Conversation
pkgs/by-name/sh/sh4d0wup/package.nix
Outdated
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.
you could use finalAttrs here, makes it easier to override
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.
can you give me an example? :) I've done it like this in other packages too.
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.
rustPlatform.buildRustPackage (finalAttrs: {
pname = "sh4d0wup";
version = "0.11.0";
src = fetchFromGitHub {
owner = "kpcyrd";
repo = "sh4d0wup";
tag = "v${finalAttrs.version}";
hash = "sha256-gzkh+JYwuYvdNljB6agEVd7WxqJ5lI3sseY3BlkLmXs=";
};
})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.
Thanks, done ✅
|
pkgs/by-name/sh/sh4d0wup/package.nix
Outdated
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.
| nativeInstallCheck = [ versionCheckHook ]; | |
| nativeInstallCheckInputs = [ versionCheckHook ]; |
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.
Thanks, I've amended the commit.
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.