From 94ddacc61ccdb8d22c8c7522a311003c76d0ac59 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 12 Nov 2022 06:22:00 +0000 Subject: [PATCH] gbenchmark: add prometheus-cpp as reverse dependency to passthru.tests --- pkgs/development/libraries/gbenchmark/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gbenchmark/default.nix b/pkgs/development/libraries/gbenchmark/default.nix index 80238d3d3bfb..4622c6bf602b 100644 --- a/pkgs/development/libraries/gbenchmark/default.nix +++ b/pkgs/development/libraries/gbenchmark/default.nix @@ -1,4 +1,10 @@ -{ lib, stdenv, fetchFromGitHub, cmake, gtest }: +{ lib +, stdenv +, fetchFromGitHub +, cmake +, gtest +, prometheus-cpp +}: stdenv.mkDerivation rec { pname = "gbenchmark"; @@ -25,6 +31,10 @@ stdenv.mkDerivation rec { doCheck = true; + passthru.tests = { + inherit prometheus-cpp; + }; + meta = with lib; { description = "A microbenchmark support library"; homepage = "https://github.com/google/benchmark";