From 0471e7aa5b8da32dcd69746e980e8e2f8f5befbf Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Wed, 4 Sep 2024 01:10:19 +0200 Subject: [PATCH] hurl: add versionCheckHook --- pkgs/by-name/hu/hurl/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/hu/hurl/package.nix b/pkgs/by-name/hu/hurl/package.nix index 3fbb553523e3..7132d2f9ed0f 100644 --- a/pkgs/by-name/hu/hurl/package.nix +++ b/pkgs/by-name/hu/hurl/package.nix @@ -8,6 +8,7 @@ , openssl , stdenv , curl +, versionCheckHook }: rustPlatform.buildRustPackage rec { @@ -35,8 +36,11 @@ rustPlatform.buildRustPackage rec { curl ]; - # Tests require network access to a test server + nativeInstallCheckInputs = [ versionCheckHook ]; + + # The actual tests require network access to a test server, but we can run an install check doCheck = false; + doInstallCheck = true; postInstall = '' installManPage docs/manual/hurl.1 docs/manual/hurlfmt.1