nixpkgs-track: set __structuredAttrs, fix versionCheckHook (#520754)

This commit is contained in:
isabel
2026-05-16 10:12:03 +00:00
committed by GitHub
+4 -4
View File
@@ -11,6 +11,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
pname = "nixpkgs-track";
version = "0.6.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "uncenter";
repo = "nixpkgs-track";
@@ -21,11 +23,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-lnv0nCyb2+7Xl+qAAeaHdbk4XOGdq4FINxPOIPchDhg=";
buildInputs = [ openssl ];
nativeBuildInputs = [
pkg-config
versionCheckHook
];
nativeBuildInputs = [ pkg-config ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };