mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
rippled: unbreak adding libnsl
This commit is contained in:
parent
e4883cb78e
commit
259056fae4
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, fetchgit, fetchurl, runCommand, git, cmake, pkgconfig
|
||||
, openssl, zlib, boost, grpc, c-ares, abseil-cpp, protobuf3_8 }:
|
||||
, openssl, zlib, boost, grpc, c-ares, abseil-cpp, protobuf3_8, libnsl }:
|
||||
|
||||
let
|
||||
sqlite3 = fetchurl rec {
|
||||
@ -9,7 +9,7 @@ let
|
||||
};
|
||||
|
||||
boostSharedStatic = boost.override {
|
||||
enableShared = true;
|
||||
enableShared = true;
|
||||
enabledStatic = true;
|
||||
};
|
||||
|
||||
@ -130,7 +130,7 @@ in stdenv.mkDerivation rec {
|
||||
cmakeFlags = ["-Dstatic=OFF" "-DBoost_NO_BOOST_CMAKE=ON"];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig cmake git ];
|
||||
buildInputs = [ openssl openssl.dev boostSharedStatic zlib grpc c-ares c-ares.cmake-config abseil-cpp protobuf3_8 ];
|
||||
buildInputs = [ openssl openssl.dev boostSharedStatic zlib grpc c-ares c-ares.cmake-config abseil-cpp protobuf3_8 libnsl ];
|
||||
|
||||
preConfigure = ''
|
||||
export HOME=$PWD
|
||||
@ -146,9 +146,9 @@ in stdenv.mkDerivation rec {
|
||||
git config --global url."file://${google-test}".insteadOf "${google-test.url}"
|
||||
git config --global url."file://${date}".insteadOf "${date.url}"
|
||||
|
||||
substituteInPlace Builds/CMake/deps/Sqlite.cmake --replace "http://www.sqlite.org/2018/sqlite-amalgamation-3260000.zip" ""
|
||||
substituteInPlace Builds/CMake/deps/Sqlite.cmake --replace "https://www2.sqlite.org/2018/sqlite-amalgamation-3260000.zip" ""
|
||||
substituteInPlace Builds/CMake/deps/Sqlite.cmake --replace "http://www2.sqlite.org/2018/sqlite-amalgamation-3260000.zip" ""
|
||||
substituteInPlace Builds/CMake/deps/Sqlite.cmake --replace "http://www.sqlite.org/2018/sqlite-amalgamation-3260000.zip" ""
|
||||
substituteInPlace Builds/CMake/deps/Sqlite.cmake --replace "https://www2.sqlite.org/2018/sqlite-amalgamation-3260000.zip" ""
|
||||
substituteInPlace Builds/CMake/deps/Sqlite.cmake --replace "http://www2.sqlite.org/2018/sqlite-amalgamation-3260000.zip" ""
|
||||
substituteInPlace Builds/CMake/deps/Sqlite.cmake --replace "URL ${sqlite3.url}" "URL ${sqlite3}"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user