Hacker News new | ask | show | jobs
by mcint 1992 days ago
Nix supports containers as a build target or output format, but the nix tools are considerate (easy to uninstall) so there's no need (& little sense) in putting them in a container. You could run the nix install script in a ubuntu or alpine image.

I use Nix on macOS, wishing I could replace all my brew usage with it. Working on a home-manager derived setup.

The dev workflow mentioned by tikhonj https://christine.website/blog/how-i-start-nix-2020-03-08 (including a "derivation" building a container from the example project).

https://nixos.org/guides/nix-pills/