Skip to content

Commit

Permalink
Merge pull request NixOS#86075 from teto/mpack
Browse files Browse the repository at this point in the history
minor tweaks to develop on luaPackages.mpack
  • Loading branch information
teto authored May 17, 2020
2 parents 79083b4 + 9a3d12e commit 66c04a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/libmpack/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
6 changes: 6 additions & 0 deletions pkgs/development/lua-modules/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 66c04a1

Please sign in to comment.