Rolling back packages
To roll back to a previous version of a package, use the command nix-env –rollback. This will roll back to the previous generation of packages. For example:
nix-env --rollback
Nix – The Purely Functional Package Manager for Linux
Nix is a purely functional package manager for Linux, that serves to provide a purely functional approach to any system’s software package management. Due to its functional and declarative approach, it is lauded for its capacity to:
- Support the installation of multiple versions of a given package.
- Enable atomic upgrades and rollbacks of a given package.
Contact Us