Search (and install) previous versions of nix packages easily
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: https://history.nix-packages.com/package/dotnet-sdk_3/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 https://search.nixos.org (because I suck at graphical design).
Do let me know what you think!
You're viewing a single thread.
I wonder…Can you also extend your example to do this with overlays?
7 0 ReplyNot 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?
1 0 ReplyI 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.
6 0 ReplyHmm, if you can find me a working example, I'll add it.
1 0 ReplyI've remembered that I once used it to pin docker to older version, is that what you had in mind? https://discourse.nixos.org/t/docker-run-and-docker-exec-error/30848/7?u=rikudou
1 0 Reply
I was thinking about that too.
1 0 Reply