If you've hung out in Linux enthusiast circles lately, you'll have heard whispers that Arch Linux is no longer hot product. Instead, all the cool kids are using something called NixOS. Since I bricked my Debian setup in an unfortunate accident involving compiling from source, I decided to give NixOS...
Hey all, thought this might be of interest to some here.
Wrote about why I moved from NixOS to Ubuntu after using it for several months on my daily driver. Suspect that this take is likely to be kind of controversial and court claims of skill issues, which might even be true.
I'm not a Nix user, but doesn't Nix make both pip and venv obsolete in a way? Nix is a package manager (which could be used to package anything including Python packages/modules) and also allows you to create environments that include only certain packages of certain versions.
python3Packages.scikit-image appears to be available and non-broken in nixpkgs; on my machine, I get /nix/store/w8681ncsw92cn4gq6gyraw4z19r0r6c3-python3.11-scikit-image-0.21.0. Do you have an actual example?
pip and venv are working, but packages that require compiling or ship binaries by itself usually won't work out of the box. They depend on gcc or libopenssl to be globally available: the whole gist of Nix not doing 😅
I've found devenv.sh to be most convenient way to handle such projects. You can define the dependencies for a project. It has explicit python/venv/requirements.txt/poetry support. It works for NixOS, but also other distros and MacOS. Very convenient to share and lock development tools and libraries across a team.
I am a GUI fan and I don't like fucking around with the OS. In fact, I don't even want to think about it at all.
So far it hardly required any maintenance (much less than Ubuntu, Windows or Mac, at least for my workflows).
And the only fucking around I did with it was the first two days setting everything up just the way I like.
To be fair, I already had extensive linux knowledge at the point of switching to arch - through ~4 years of constantly breaking my Debians and Ubuntus every couple of months.
i find arch to sometimes break on updates for me. it always turns out to be either:
1- bleeding edge package update made it bleed
2- needed to be watching announcements and change some config file
3- i havent updated in a while and it dislikes that.