3 ms·
Yeah this post is basically how to build your own wrapper around nix to manage your Mac user environment because you didn't like some of the decisions the nix m
by qbasic_forever 4y ago
Yeah this post is basically how to build your own wrapper around nix to manage your Mac user environment because you didn't like some of the decisions the nix maintainers made. It's easier to just install nix following its directions and then exclusively use nix-shell or nix develop (with flakes) to activate development environments with specific tools. Kind of like a python virtual environment on steroids. Forget entirely about managing your user's global tools and packages unless or until you want to do that, you could just keep using homebrew!
- ratorx 4y agoEven managing global/user packages is fine, if you want parity with a normal package manager. nix-env is pretty simple to get started with. Managing that declaratively is slightly more challenging. That’s when you need to understand the Nix language and use something like home-manager or the file approach in the blog post. But at this point, Nix is competing against something like Ansible/Puppet and not a standard package manager.