-
-
Notifications
You must be signed in to change notification settings - Fork 16.7k
huenicorn: init at 1.0.11 #432136
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
base: master
Are you sure you want to change the base?
huenicorn: init at 1.0.11 #432136
Conversation
# builds without these, but cmake complains | ||
libsysprof-capture | ||
pcre2 | ||
util-linux | ||
libselinux | ||
libsepol |
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.
Unsure about this part, should I just leave them in to be sure?
mkdir $out/bin -p | ||
cp huenicorn $out/bin | ||
''; | ||
|
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.
passthru.updateScript = nix-update-script { }; | |
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.
should this be the default for all packages? always explicitly put the (what I figure is the default) update script?
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.
Depends. For trivial packages you can just use the default nix-update-script
. Sometimes you would need to write your own update script. You can grep
Nixpkgs to see some examples.
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 know you sometimes need custom update scripts, I was just wondering if (or rather why) it is important to set the default explicitly?
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 don't have to, it's just easier since @r-ryantm can open the package update PR for you automatically if you have update script set up.
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 do know a package I'm maintaining doesn't have the update-script explicitly set and still ryantm does its magic..
See for example #431472.
that's why I was wondering if there is need to set the default one by hand.
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.
Interesting, I'm also not sure about that.
|
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.
Approved automatically following the successful run of nixpkgs-review
.
Things done
passthru.tests
.nixpkgs-review
on this PR. See nixpkgs-review usage../result/bin/
.Add a 👍 reaction to pull requests you find important.