toraritte / knowledge-gaps

All the stuff I don't know, but would like to (or should)
0 stars 0 forks source link

How to efficiently handle language-specific package managers with Nix? #2

Open toraritte opened 6 years ago

toraritte commented 6 years ago

Such as node, mix, pip (and react has something too). Whenever I install something with them, the whole dependency hell starts all over again, so I guess there must be a good way to deal with them.

For example, installed Elixir, then Phoenix framework with mix and that installed Brunch via Node when initializing a new project. Now the project cant find Brunch, but this happened to me with a React tool: it's there but deeply hidden somewhere in the Nix store...

toraritte commented 6 years ago

Ok, the Brunch thing is not an issue, I messed up when the Phoenix app compilation failed because postgres wasn't set up properly. But the rest is still true.

(20180607-2132 Confirmed: I am an idiot. Forgot to build brunch during setup that is why it failed.)