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:
parent
a5e6e5c170
commit
9a3d12e2ab
1 changed files with 6 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue