this post was submitted on 02 May 2024
60 points (81.2% liked)
Programming
17405 readers
186 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Makes sense. NixOS isn't for everybody and that's fine.
For people like me who don't change things on the regular, it's fine. But using the latest and greatest or having to customise stuff is really a drag. Getting a new electron app on nixpkgs can take a long time because doing it yourself is pain. It's easier to hope somebody else will deal with that pain.
Have fun on Ubuntu.
Anti Commercial-AI license
I run nix unstable, so I get all the latest software. It's actually been very stable for me, and I love knowing I can rollback at any time if something happens to break.
By latest and greatest I meant stuff not packaged in nixpkgs yet.
Anti Commercial-AI license
I know it's not for everyone, but creating your own nix derivation for software that doesn't exist yet on nixpikgs is not terribly difficult (for most things).
It varies wildly, in my experience. A binary package in nix? For sure, easy. Any programming language with its own ecosystem: good luck. Python, JS, and anything electron is hilariously difficult to package when anything goes wrong. If it doesn't work at the 5th try, gotta get ready for a long night.
Even C/C++ projects that should "just work" with
mkDerivation
are far from trivial, but that's also due to how shit the ecosystems of those languages are. "have A,B,C installed on ubuntu 18.04" and then you find out that there are actually a bunch more dependencies, or gcc is too recent, or you have to mess with theLD_LIBRARY_PATH
, or or or or.There have been very, very few packages that I found trivial to package. nix is very good at exposing hidden dependencies.
Anti Commercial-AI license