I’ve never used it but https://trynix.dev/ should allow you to find the versions of nixpkgs with specific versions of a set of packages