-
-
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
ayatana-indicator-messages: fix PIE hardening #372768
base: master
Are you sure you want to change the base?
Conversation
Failure seems to be due to these hardcoded Edit: Suggested in AyatanaIndicators/ayatana-indicator-messages#39 . |
5359897
to
e65813c
Compare
Thanks for investigating and fixing the issue :) |
@@ -40,6 +40,10 @@ stdenv.mkDerivation (finalAttrs: { | |||
"dev" | |||
] ++ lib.optionals withDocumentation [ "devdoc" ]; | |||
|
|||
patches = [ | |||
./fix-pie.patch |
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.
Any reason to not just fetchpatch
it?
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.
Yes. It is not yet merged, so it could disappear if you were to force-push to the PR branch.
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.
Alrighty, section got added since the last time I had a deep look at pkgs/CENTRIBUTING.md
that properly details when & why to do this: https://github.com/NixOS/nixpkgs/blob/2c8f8a719a9018a43984062272ebf5772dc786d6/pkgs/README.md#vendoring-patches
Are we in a rush to get this resolved? Otherwise I'd just wait abit for upstream to respond to the PR, to see if we can avoid adding the patch to Nixpkgs.
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.
There is a chance PIE will be enabled for the next staging cycle. In that case we have about 5-6 weeks.
ref. #205031
Things done