luaPackages.mpack: use system mpack

the luarocks package uses the builtin command and discards the Makefile.
While using the makefile one needs to set some more flags.
This commit is contained in:
Matthieu Coudron 2020-04-26 21:28:40 +02:00
parent a5e6e5c170
commit 9a3d12e2ab

View File

@ -294,6 +294,12 @@ with super;
};
});
mpack = super.mpack.override({
buildInputs = [ pkgs.libmpack ];
# the rockspec doesn't use the makefile so you may need to export more flags
USE_SYSTEM_LUA = "yes";
USE_SYSTEM_MPACK = "yes";
});
rapidjson = super.rapidjson.override({
preBuild = ''