xh: add updateScript

This commit is contained in:
Defelo
2025-05-22 23:46:14 +02:00
parent e13c1026dc
commit 66516a0bf5
+3
View File
@@ -8,6 +8,7 @@
stdenv,
openssl,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -63,6 +64,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = {
description = "Friendly and fast tool for sending HTTP requests";
homepage = "https://github.com/ducaale/xh";