Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The problem is more or less solved - see Nix.

Sorry, but I'm really not sure what you mean by "solved".

Nix is yet another (language agnostic) package manager with certain tradeoffs. But, if there is not an available Nix package for a specific version of a library I need to use - I'm out of luck.

Nix is not a build tool designed to work with arbitrary or latest development versions of libraries, for example. And, it will never solve that problem even _if_ it is technically capable of doing so - because there is no force in the world that would get all projects in all languages to use it.



> Nix is not a build tool designed to work with arbitrary or latest development versions of libraries, for example.

No, that's exactly what it's designed for and exactly how we use it. And it's not a build tool (it just calls your existing build tools under the hood), it's a system for keeping different versions of dependencies installed at the same time without errors.

> because there is no force in the world that would get all projects in all languages to use it.

You can write your own wrappers for the projects that are missing. It's a simple and idiomatic process.


> Nix is not a build tool designed to work with arbitrary or latest development versions of libraries, for example

Well it sort of is and it sort of isn't. The great thing about Nix is how the provided packages remain malleable. You can usually quite easily make a small override to a provided package to make it build from a specific revision of the source you desire, or add a custom patch, and Nix will just build it all for you then & there. Then you can go and rebuild bits of the rest of the distribution that depend on that using your custom version. If you so want.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: