Search (and install) previous versions of nix packages easily

I’ve made a fun little project inspired by this (except it’s not updated any more).

It provides easy instructions for installing old versions of packages, it takes them straight from the official nixpkgs repo.

Example: history.nix-packages.com/package/…/3.1.426 (.NET SDK 3.1 actually prompted the creation of this tool, I needed it for one old project).

Each detail page provides instructions on how to install the package using nix-shell, nix-shell with shell.nix file, configuration.nix and nix-env.

The design is based on search.nixos.org (because I suck at graphical design).

Do let me know what you think!

jeffhykin,

I’ve been tracking the version search issue on nixpkgs for the last 3 years. Your site is a major win on that front!

I still use Lazamar’s tool regularly, so I’m thrilled to see a successor to it.

Devbox (a framework) has the most exhaustive version search for nix that I know of, but it’s a bit of a pain because they assume you use devbox to install the package (instead of using nix to install the package)

demesisx,
@demesisx@infosec.pub avatar

I wonder…Can you also extend your example to do this with overlays?

rikudou,

Not sure, I’m kinda new to Nix and used overlays only sparingly. Can you give me an example of what you’d like to see?

demesisx,
@demesisx@infosec.pub avatar

I may be wrong but I think I’ve seen it done to accomplish exactly what you’re doing here. Problem is, it is non-trivial and not that easy to understand in the documentation.

rikudou,

Hmm, if you can find me a working example, I’ll add it.

rikudou,

I’ve remembered that I once used it to pin docker to older version, is that what you had in mind? discourse.nixos.org/t/…/7?u=rikudou

pol,

I was thinking about that too.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • nixos@infosec.pub
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • kavyap
  • cubers
  • JUstTest
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • megavids
  • lostlight
  • All magazines