Stream: nix

Topic: Portable binaries


view this post on Zulip majorkaks (Jun 01 2024 at 21:09):

Problem: Linux doesn't have portable binaries like windows - download exe from a site and double click to run.

I think we could build something based off nix, which runs on any distro and sets up /nix under some X, and allows people to run all nix binaries directly on any distro.

Example:
makeitrun reptyr - launches reptyr as of nixos unstable / latest stable.

X:

  1. Can be a ram based filesytem like tmpfs
  2. Can be a filesystem within a file.
  3. Can be a directory path - mainly if user wants to debug.

makeitrun itself must be a statically linked binary - so that it can run without relying on any glibc etc.

What do you peeps thing about it?

view this post on Zulip Notification Bot (Jun 02 2024 at 01:34):

A message was moved here from #general > OSS contribution ideas by Srid.

view this post on Zulip Srid (Jun 02 2024 at 01:34):

nix bundle?


Last updated: Nov 15 2024 at 12:33 UTC