(no title)
yeck | 2 years ago
What I wish more people knew was that you don't need to do those things to get value from Nix. Create project specific dev shells that install the packages (at the correct versions) to work with that project can almost replace 90% of the docs for getting setup to work on a project.
aliasxneo|2 years ago
whacked_new|2 years ago
conceptually a game changer for me. In practice it's far from a silver bullet (because every language prefers its own package management so you still have to manage those), but when it works it's quite magical.
n8henrie|2 years ago
maxmcd|2 years ago
Or was the issue that you expected them to be portable? Or use commonly known dynamic library locations?
ParetoOptimal|2 years ago
For example I tried to run pip install yesterday on MemGPT on Nix.
It failed with a C++ error because they use miniconda.
I just created a nix shell with python, pip, etc and ran the pip install command.
Things work fine.
pricci|2 years ago
[0] https://www.jetpack.io/devbox
yeck|2 years ago
eternityforest|2 years ago
corethree|2 years ago
gaganyaan|2 years ago
tripdout|2 years ago
otabdeveloper4|2 years ago
a) Unless you literally write everything in one language, you will have to deal with learning, supporting and fixing bugs in N different package/environment managers instead of just one.
b) If you have a project that uses several languages (say, a Python webapp with C++ extensions and frontend templates in Typescript), then Nix is the only solution that will integrate this mess under one umbrella.
jcelerier|2 years ago
anon291|2 years ago