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";