Skip to content
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

firefox-nightly: use patched patchelf (heh) to not break binaries #322

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

K900
Copy link
Contributor

@K900 K900 commented Sep 24, 2023

No description provided.

patches = old.patches or [] ++ [ ./no-clobber-old-sections.patch ];
});
in stdenv.mkDerivation {
pname = "patchelf-wrapped";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"patchedelf"? :trollface:

Comment on lines +3 to +4
patchelf' = patchelf.overrideAttrs(old: {
patches = old.patches or [] ++ [ ./no-clobber-old-sections.patch ];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds good for now, but it would be good to make it work for both patched (making this code a no-op) and non-patched versions of patchelf.
In the mean time I am going to accept it as most users are more likely to not be able to update nightly anymore.

Thanks for figuring out the issue and providing the patches!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can hopefully just rip this out when the fixed patchelf makes it to nixpkgs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants