luasocket: enable hydra build on more platforms

Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
This commit is contained in:
Jörg Thalheim 2016-09-17 13:14:54 +02:00
parent 50d2b3ca11
commit cdbb0e2fb8
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -197,15 +197,18 @@ let
preBuild = ''
makeFlagsArray=(
LUAV=${lua.luaversion}
PLAT=${if stdenv.isDarwin then "macosx" else "linux"}
LUAPREFIX_linux=$out
LUAPREFIX_macosx=$out
PLAT=${if stdenv.isDarwin then "macosx"
else if stdenv.isFreeBSD then "freebsd"
else if stdenv.isLinux then "linux"
else if stdenv.isSunOS then "solaris"
else throw "unsupported platform"}
prefix=$out
);
'';
meta = {
homepage = "http://w3.impa.br/~diego/software/luasocket/";
hydraPlatforms = stdenv.lib.platforms.linux;
hydraPlatforms = with platforms; [darwin linux freebsd illumos];
maintainers = with maintainers; [ mornfall ];
};
};