xh: add updateScript

This commit is contained in:
Defelo 2025-05-22 23:11:00 +02:00
parent e13c1026dc
commit 66516a0bf5
No known key found for this signature in database
GPG key ID: 2A05272471204DD3

View file

@ -8,6 +8,7 @@
stdenv, stdenv,
openssl, openssl,
versionCheckHook, versionCheckHook,
nix-update-script,
}: }:
rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
@ -63,6 +64,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ]; nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version"; versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = { meta = {
description = "Friendly and fast tool for sending HTTP requests"; description = "Friendly and fast tool for sending HTTP requests";
homepage = "https://github.com/ducaale/xh"; homepage = "https://github.com/ducaale/xh";