Post #2211904
2025-12-28 15:34 UTC
I created over Christmas a new more reliable method to package binaries with Nix: https://github.com/Mic92/wrap-buddy
This is a drop replacement to `autoPatchelfHook`. Instead of complex patch operations on the elf sections, it replaces the entry point of an elf binary to it's own minimal loader, a bit like how the UPX loader works. Advantage of this approach is that, the layout of the binary at runtime is fully preserved.
Replies (1)
-
@strangertoon@mastodon.online 2025-12-28 15:54
@mic92@toot.matereal.eu Very cool. Not yet tested, but it has huge potential to make my life easier! And the cover is supreme ✨ Thank you!