nixpkgs-track: set __structuredAttrs, fix versionCheckHook

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-05-16 04:22:50 -04:00
parent 0ec9b63333
commit c5aeb7cc64
+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 { };