luaPackages.luv: add libluv output
Co-authored-by: Roman Volosatovs <rvolosatovs@riseup.net>
This commit is contained in:
parent
6bdaca51e8
commit
93e25e8b00
1 changed files with 11 additions and 0 deletions
|
@ -276,8 +276,19 @@ with super;
|
|||
propagatedBuildInputs = [
|
||||
pkgs.libuv
|
||||
];
|
||||
|
||||
passthru = {
|
||||
libluv = self.luv.override({
|
||||
preBuild = self.luv.preBuild + ''
|
||||
sed -i 's,\(option(BUILD_MODULE.*\)ON,\1OFF,' CMakeLists.txt
|
||||
sed -i 's,\(option(BUILD_SHARED_LIBS.*\)OFF,\1ON,' CMakeLists.txt
|
||||
sed -i 's,${"\${INSTALL_INC_DIR}"},${placeholder "out"}/include/luv,' CMakeLists.txt
|
||||
'';
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
rapidjson = super.rapidjson.override({
|
||||
preBuild = ''
|
||||
sed -i '/set(CMAKE_CXX_FLAGS/d' CMakeLists.txt
|
||||
|
|
Loading…
Reference in a new issue