Sometimes, you want to install an old version of a package that is no longer supported in the current version of nixpkgs.
To do so, in your my-package.nix
, add the following:
References: How to install a previous version of a specific package with configuration.nix?.