2 ms·
Nix 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/Ov
by grumbel 5y ago
Nix 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.