luaPackages.mpack: enable darwin platform

It was working fine but then regressed by
77f5a50c40
This commit is contained in:
zimbatm 2017-03-10 11:57:05 +00:00
parent 10a17f99a4
commit 1873721fcd

View File

@ -459,7 +459,7 @@ let
meta = { meta = {
description = "Simple implementation of msgpack in C Lua 5.1"; description = "Simple implementation of msgpack in C Lua 5.1";
homepage = "https://github.com/tarruda/libmpack"; homepage = "https://github.com/tarruda/libmpack";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
# gcc -llua fails with luajit # gcc -llua fails with luajit
broken = (builtins.parseDrvName lua.name).name != "lua"; broken = (builtins.parseDrvName lua.name).name != "lua";