~/talk

Nix Anywhere Else: Relocatable Binaries via ELF Surgery

name:Wes Payne
links:none on file
slides:none on file

Nix-built dynamic executables often fail on standard distros; the practical fix is live ELF surgery: use patchelf and the auto-patchelf-hook to rewrite the interpreter, inject a Nix-provided dynamic loader, and set an $ORIGIN rpath so bundled libs resolve at runtime. Example: a prebuilt Rust Google CLI and a Python interpreter with NumPy are patched to run on NixOS and Ubuntu, and bcachefs-tools are repackaged into a .deb via fpm and successfully run and format a filesystem in a POD container.

AI-written summary Β· about

  1. 0:00Introduction
  2. 1:02Why NixOS struggles
  3. 3:09ELF basics for binaries
  4. 6:16Tools to inspect binaries
  5. 7:18Real-world binary failure
  6. 9:02Introducing patch ELF
  7. 11:49Python on NixOS pain
  8. 13:13Patching Python dependencies
  9. 15:22Surgery out with patch ELF
  10. 17:28Portable bcachefs tools
  11. 20:58Packaging for Debian
  12. 21:43Demo in Ubuntu container
  13. 23:27Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark β€” the status bar button does the same
← β†’
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter β€” or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.