[Nix-dev] How to install specific version of a package?

Kevin Cox kevincox at kevincox.ca
Thu Aug 11 21:38:08 CEST 2016


If you know the path of the package the easiest way is `nix-env -i
/nix/store/...`.

For installing a package by previous version number I don't think there
is an easy way to do it. (Except for some packages were different
versions are available in nixpkgs). This is partially because "version"
in nix includes all the versions of dependencies and build instructions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160811/51b13c88/attachment.sig>


More information about the nix-dev mailing list