News for hackers. Stuff that matters.
Re:macOS Nix setup: an alternative to Homebrew (2020) by bobbylarrybobby on Tuesday July 13, 2021 @10:02PM (#27828725)
Yep, I found the `shell.nix` setup to be too complicated and time consuming, even if it's technically "correct", so I just `nix-env -iA nixpkgs.pkg_name` every time I would have previously used `brew install pkg_name`. Since nix isolates each package from every other package, there's no risk of package incompatibilities when I do this (compare to homebrew, where package A needs one version of python and package B needs another version, and updating python can break both...), and so every project I work on just has all the tools it'll ever need.

For package management within a project, I just whatever tool is appropriate for the language -- NPM, Poetry, Cargo, etc.

Re:macOS Nix setup: an alternative to Homebrew (2020) by SuperSandro2000 on Wednesday July 14, 2021 @01:55PM (#27836064)
Nothing about a shell.nix is complicated. You just copy the boiler plate and add the packages you want. Pretty damn easy in my opinion.
Re:macOS Nix setup: an alternative to Homebrew (2020) by ris on Wednesday July 14, 2021 @02:18PM (#27836393)
You don't strictly even need a `shell.nix`, you can just name packages verbatim on the command line a la `nix-shell -p python39.pkgs.ipython -p python39.pkgs.numpy --pure` and you're away.