60

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.

Let me know what you think.

you are viewing a single comment's thread
view the rest of the comments
[-] Deckweiss@lemmy.world 76 points 1 month ago* (last edited 1 month ago)

tldr:

  • fucking with configs for hours regularly
  • pip & venv doesn't work on nixos
  • DE broke when installed new DM
  • not much community support
[-] mortalic@lemmy.world 21 points 1 month ago

I didn't realize pip and venv didn't work... that's a pretty big deal breaker for a lot of people, myself included.

[-] Faresh@lemmy.ml 9 points 1 month ago

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.

[-] fd93@programming.dev 14 points 1 month ago

Sounds good in theory, until you want to install scikit-image or other Python libraries which need complex builds.

[-] Corbin@programming.dev 9 points 1 month ago

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?

I understand your point, but given nixpkgs' position in the community, it might be a moot point.

[-] frozencow@lemmy.world 6 points 1 month ago

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.

[-] umbrella@lemmy.ml 6 points 1 month ago* (last edited 1 month ago)

fucking with configs for hours regularly

this is the one reason i dont board the hype train for "customizable" distros: arch, nix, gentoo and so on unless im specifically looking to learn.

i use linux so i can install it and forget which distro im actually using.

[-] Deckweiss@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

I have been on arch professionally for ~5 years.

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.

[-] umbrella@lemmy.ml 4 points 1 month ago* (last edited 1 month ago)

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.

i like having 100% automatic updates.

[-] Deckweiss@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

Depends on what yoy install I guess.

It only broke twice for me from updates during the 5 year period. 1. grub 2. openjdk

and the openjdk one simply didn't update until I uninstalled the old one and reinstalled the new one.

[-] wargreymon2023@sopuli.xyz -2 points 1 month ago

it is for advanced users

this post was submitted on 02 May 2024
60 points (81.2% liked)

Programming

16197 readers
672 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS