treewide: cmake buildInputs to nativeBuildInputs, minor cleanups

This commit is contained in:
Ben Siraphob
2020-12-31 14:48:55 +07:00
parent 54ab07c1fe
commit b04fc593e7
212 changed files with 611 additions and 634 deletions

View File

@@ -12,14 +12,13 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
buildInputs = [ cmake boost openssl ];
nativeBuildInputs = [ cmake ];
buildInputs = [ boost openssl ];
cmakeFlags = [
"-DCPP-NETLIB_BUILD_SHARED_LIBS=ON"
];
enableParallelBuilding = true;
# The test driver binary lacks an RPath to the library's libs
preCheck = ''
export LD_LIBRARY_PATH=$PWD/libs/network/src