Commit 0471e7aa authored by Stefan Frijters's avatar Stefan Frijters Committed by Matthieu Coudron
Browse files

hurl: add versionCheckHook

parent 34070318
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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