hurl: add versionCheckHook

This commit is contained in:
Stefan Frijters
2024-09-28 22:42:37 +02:00
committed by Matthieu Coudron
parent 3407031806
commit 0471e7aa5b
+5 -1
View File
@@ -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