Open matthewbauer opened 7 years ago
Would you be able to use any ideas from Warp? It "creates self-contained single binary applications ... and is supported on Linux, Windows and macOS".
Edit: Warp doesn't appear to use chroot at all.
@ariutta Yeah we can't really use Warp besides as maybe an alternative to AppImage/self extracting bash.
Here's a really rough version of something that works for me on macOS Sierra: https://github.com/ariutta/nix-bundle-macos
It created this bundle (warning >200MB): https://www.dropbox.com/s/n5gy0938qels30g/PathVisio-Installer.dmg?dl=0
This will be a meta issue on getting macOS/Darwin/XNU support for nix-bundle. AFAICT no reliable way to chroot exists no macOS for a user. Related links: