Inspired by Matthew Bauer's nix-bundle
, this is an early attempt at creating self-contained bundles for Nix packages for macOS. The original nix-bundle
works for Linux but doesn't currently support macOS.
First, install Nix on your Mac. Then install the Nix package you'd like to bundle. Then you can bundle that package as either a self-contained .app
or bin
executable.
./nix-bundle-macos PathVisio
./nix-bundle-macos ripgrep-0.9.0