From 267cdb7989e81a4aceb1ddcd928b9c990116ab8e Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 1 Oct 2024 13:37:35 +0100 Subject: [PATCH] gbenchmark: use Ninja to build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I confirmed that it’s faster. --- pkgs/development/libraries/gbenchmark/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gbenchmark/default.nix b/pkgs/development/libraries/gbenchmark/default.nix index 10163a04bc58..fcb95d088f8d 100644 --- a/pkgs/development/libraries/gbenchmark/default.nix +++ b/pkgs/development/libraries/gbenchmark/default.nix @@ -2,6 +2,7 @@ , stdenv , fetchFromGitHub , cmake +, ninja , gtest , prometheus-cpp }: @@ -17,7 +18,7 @@ stdenv.mkDerivation rec { hash = "sha256-5cl1PIjhXaL58kSyWZXRWLq6BITS2BwEovPhwvk2e18="; }; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ cmake ninja ]; postPatch = '' cp -r ${gtest.src} googletest