<p>
Cross-distro and -POSIX packages are easy with Nixstaller. (Note that
this pre-dates and is entirely unrelated to NixOS or Nix packages.)
</p>
<p>
Download Nixstaller from <a href="https://nixstaller.sourceforge.net">https://nixstaller.sourceforge.net</a> and read
the docs there.
</p>
<p>
Review the sample package templates included in the examples dir.
</p>
<p>
Generate an empty template dir with genprojdir.sh
</p>
<p>
Modify the config.lua and run.lua files to suit your needs.
</p>
<p>
Place your payload(s) into the appropriate folders.
</p>
<p>
Generate your re-distributable install file with geninstall.sh:
</p>
<p>
geninstall foo-1.0.0 foo.run
</p>
<p>
That's it!
</p>