this post was submitted on 10 Nov 2023
1 points (100.0% liked)

NixOS

930 readers
1 users here now

NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.

This community discusses NixOS, Nix, and everything related.

founded 1 year ago
MODERATORS
 

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 are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago (1 children)

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?

[–] [email protected] 5 points 1 year ago

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.