this post was submitted on 02 May 2024
60 points (81.2% liked)
Programming
17312 readers
303 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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