3 ms·
There's an older attempt at a universal Nix bundler here: https://github.com/matthewbauer/nix-bundle https://github.com/matthewbauer/nix-bundle The flake schem
by tadfisher 3y ago
There's an older attempt at a universal Nix bundler here: https://github.com/matthewbauer/nix-bundle https://github.com/matthewbauer/nix-bundle
The flake schema has a "bundler" output that can point to an executable like this to bundle a flake's outputs for any supported target. Not sure about the state of the art, though.
- hamandcheese 3y agoMy main gripe with this (and guix mentioned in a sibling comment) is lack of macOS support. I believe macOS support is a large part of why Nix is able to become so popular.
- whateveracct 3y agoThere's this, which does work on macOS https://github.com/3noch/nix-bundle-exe https://github.com/3noch/nix-bundle-exe I've never tried it out though.