From c1ad9fc2f62e812058d4fb67c79d83ea820a3fdb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 3 Dec 2024 10:33:50 +0100 Subject: [PATCH] coinlive: add versionCheckHook --- pkgs/tools/misc/coinlive/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/coinlive/default.nix b/pkgs/tools/misc/coinlive/default.nix index 498874ed5be9..a24ff65d45ca 100644 --- a/pkgs/tools/misc/coinlive/default.nix +++ b/pkgs/tools/misc/coinlive/default.nix @@ -6,6 +6,7 @@ pkg-config, rustPlatform, Security, + versionCheckHook, }: rustPlatform.buildRustPackage rec { @@ -31,11 +32,15 @@ rustPlatform.buildRustPackage rec { Security ]; + nativeInstallCheckInputs = [ versionCheckHook ]; + checkFlags = [ # Test requires network access "--skip=utils::test_get_infos" ]; + doInstallCheck = true; + meta = with lib; { description = "Live cryptocurrency prices CLI"; homepage = "https://github.com/mayeranalytics/coinlive";