this post was submitted on 02 May 2024
0 points (NaN% liked)

Programming

19835 readers
277 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 [email protected]



founded 2 years ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

tldr:

  • fucking with configs for hours regularly
  • pip & venv doesn't work on nixos
  • DE broke when installed new DM
  • not much community support
[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year 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.

[–] [email protected] -1 points 1 year ago* (last edited 1 year ago)

More serious than this is the rare occasions Nix packages conflict with each other. While Nix separates dependencies, it doesn't separate them as absolutely as a full container system like Docker. Therefore it is possible, albeit unlikely, to end up with conflicts between versions of installed libraries.

Never tried it but thanks for dispelling the hype. What a meme OS.