3 ms·
Yeah one version really is an antediluvian limitation. The ideal state of this would be something like this: I can have 100 different versions of a library, sto
by posix_me_less 6y ago
Yeah one version really is an antediluvian limitation. The ideal state of this would be something like this: I can have 100 different versions of a library, stored on disk only once per each version, and any application I install could use the special version it wants as a shared library. Does NixOS provide this capability currently?
- kilburn 6y agoYes. NixOs uses the NiX package manager (that you can install in any other distro too). The NiX package manager installs each version of a package to a directory, the trick being that each version of each package goes to a folder whose name is a hash of all the inputs of the build (files, build parameters, specific build folders of this builds dependencies, etc). As a result, not only can you have different versions of a package: you can even have different builds of the same version (that you built with different build configuration and/or versiona of its dependencies). The concept is sound. The issue is that you need the ability to actually build the application (you need the source) and you probably have to adjust its own build process to get it to work properly with NiX.
- Ericson2314 6y agoYes, just as the other comment says. To me, Nix is "Noah's trampoline", no-holds-barred mud-wresting all the nasty details of Unix and software as it actually exits, all the way down, into something just every so slightly saner so we can sale over the floodwaters and land on the shore of an actually sane practice of computing. And yes, I would basically want describe in in those terms even if it weren't for your nick and vocabulary :).