treewide: cmake buildInputs to nativeBuildInputs, minor cleanups
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, clang-tools, grpc, curl, cmake, pkgconfig, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }:
|
||||
{ stdenv, clang-tools, grpc, curl, cmake, pkg-config, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }:
|
||||
let
|
||||
googleapis = fetchFromGitHub {
|
||||
owner = "googleapis";
|
||||
@@ -16,7 +16,7 @@ let
|
||||
sha256 = "02zkcq2wl831ayd9qy009xvfx7q80pgycx7mzz9vknwd0nn6dd0n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ c-ares c-ares.cmake-config grpc openssl protobuf zlib ];
|
||||
|
||||
postPatch = ''
|
||||
@@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf ];
|
||||
nativeBuildInputs = [ clang-tools cmake pkgconfig doxygen ];
|
||||
nativeBuildInputs = [ clang-tools cmake pkg-config doxygen ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user