Skip to content
项目

lazamar/nix-package-versions

在 GitHub 查看

关于

搜索 Nix 软件包的旧版本。

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Nix Package Versions

GitHub CI

This project aims to make it easy to find old versions of packages to install using the Nix package manager. It does that by allowing you to search a package name and finding all past versions of that package that were available in the Nix package repository and listing the latest revision at which they were available.

Go to search

Motivation and Method

Installing older versions of packages with Nix is easy but currently there is no official way to find out what revision has the package version that I need. This project provides this functionality by letting you see what versions were available in the past, when they were available, what revision to install them from, and what command to use.

The list of versions available here is not exhaustive. To check what versions of packages were ever available data was collected from past revisions in 5 weeks intervals. This means that if a package changed versions more often than every 5 weeks there may be versions missing.

During the retrieval of version information, revisions for some periods could not be successfully built for some channels and this could also cause versions to be missing from the list.

Usage

Creating / Updating the database

The easiest way is to use the docker image. You won't need to have Nix installed in the host machine for that.

$ docker run \
    -v ./database:/home/app/database \
    -it \
    --entrypoint /bin/bash \
    -e GITHUB_USER=$GITHUB_USER \
    -e GITHUB_TOKEN=$GITHUB_TOKEN \
    lazamar/nix-package-versions

root@docker$ nix-package-versions \
    update \
        --from 2025-01-01 \
        --github-user $GITHUB_USER \
        --github-token $GITHUB_TOKEN \
        --db-root database

探索相关项目

加载中…