gbenchmark: use Ninja to build
I confirmed that it’s faster.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user