3 ms·
unless you need specific versions of dependencies? The last time I looked to try and port any of our own software the nix answer to needing specific versions de
by misnome 5y ago
unless you need specific versions of dependencies? The last time I looked to try and port any of our own software the nix answer to needing specific versions dependencies seemed to be "you are holding it wrong".
- grumbel 5y agoNix has no problems installing a specific version of a software. You can either override an existing package or just build your own: https://nixos.wiki/wiki/Overlays#Overriding_a_version https://nixos.wiki/wiki/Overlays#Overriding_a_version With Nix flakes it's even easier and you can just mix and match inputs as you want. For example if you want to replace libfoo with your own fork you just do something like: $ nix build --override-input libfoo /home/juser/src/libfoo And the best part is that none of this requires any changes to your system. If you need multiple different specific versions at once, Nix can just do it, as every software is sitting around in /nix/store/{HASH} and there is no risk of anything colliding.