Better HN
topnewbestaskshowjobs
Log inSign up

alexshagov

1 karma · joined Sep 16, 2022 (4y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

Ended up doing the same, no brew, no docker

System-wide dependencies installed via home manager, and project-related installed via nix flakes which is created on project basis

I can spin up a new identical environment on new macos in 15 mins

comment 1y ago · link · parent

I personally use Nixpkgs to fully isolate python installation on per project basis. And inside this isolated env, once python is built, usually using pip is enough and works well

This way, !each of my repositories has its own nix file defining the list of dependencies and it can easily be built per system as well