Merge pull request #86075 from teto/mpack

minor tweaks to develop on luaPackages.mpack
This commit is contained in:
Matthieu Coudron 2020-05-17 23:40:46 +02:00 committed by GitHub
commit 66c04a191e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
pname = "libmpack";
version = "1.0.5";
src = fetchFromGitHub {
owner = "tarruda";
owner = "libmpack";
repo = "libmpack";
rev = version;
sha256 = "0rai5djdkjz7bsn025k5489in7r1amagw1pib0z4qns6b52kiar2";

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 = ''