nixsearch
nixsearch / pkg / versionCheckHook

versionCheckHook

Lookup for $version in the output of --help and --version
MIT versionCheckHook 1 release newest changed
versionCheckHook@ latest, 3.11, ^3.11, >=3.10 <3.12
version attributeversionCheckHook rev systems✓ aarch64-darwin✓ aarch64-linux✓ x86_64-darwin✓ x86_64-linux
$ devbox add versionCheckHook@
$ nix shell github:NixOS/nixpkgs/044bfe75bfe4c7bbe043dc17b5e42ea823b84a09#versionCheckHook  # aarch64-darwin
$ nix shell github:NixOS/nixpkgs/044bfe75bfe4c7bbe043dc17b5e42ea823b84a09#versionCheckHook  # aarch64-linux
$ nix shell github:NixOS/nixpkgs/3d46470bb3030020f7e1361f33514854f5bfa86d#versionCheckHook  # x86_64-darwin
$ nix shell github:NixOS/nixpkgs/044bfe75bfe4c7bbe043dc17b5e42ea823b84a09#versionCheckHook  # x86_64-linux

JSON: /v2/resolve?name=versionCheckHook&version=latest

Releases

newest first, as /v2/pkg orders them
Versionarm
mac
arm
linux
x86
mac
x86
linux
AttributeCommitDateOutputs
resolved ✓✓✓✓ versionCheckHook varies

Prereleases are listed but latest never picks one. “varies” means each system last changed at a different nixpkgs commit — the release page lists them.