niklaskorz / nix-bundle-macos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nix-bundle-macos

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.

Create a self-contained .app

./nix-bundle-macos nixpkgs#audacity

Create a self-contained bin executable

./nix-bundle-macos nixpkgs#ripgrep

About


Languages

Language:Shell 100.0%