From 5c411d8a1c85ec54d393bf56c8dcf31c31eb557c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Jun 2026 01:03:13 +0200 Subject: [PATCH] jwt-hack: add versionCheckHook --- pkgs/by-name/jw/jwt-hack/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/jw/jwt-hack/package.nix b/pkgs/by-name/jw/jwt-hack/package.nix index 9ec417c6e438..2a090976f499 100644 --- a/pkgs/by-name/jw/jwt-hack/package.nix +++ b/pkgs/by-name/jw/jwt-hack/package.nix @@ -4,6 +4,7 @@ openssl, pkg-config, rustPlatform, + versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -21,10 +22,14 @@ rustPlatform.buildRustPackage (finalAttrs: { nativeBuildInputs = [ pkg-config ]; + nativeInstallCheckInputs = [ versionCheckHook ]; + buildInputs = [ openssl ]; env.OPENSSL_NO_VENDOR = 1; + doInstallCheck = true; + meta = { description = "JSON Web Token Hack Toolkit"; homepage = "https://github.com/hahwul/jwt-hack";