mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
luasocket: enable hydra build on more platforms
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
This commit is contained in:
parent
50d2b3ca11
commit
cdbb0e2fb8
@ -197,15 +197,18 @@ let
|
|||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray=(
|
makeFlagsArray=(
|
||||||
LUAV=${lua.luaversion}
|
LUAV=${lua.luaversion}
|
||||||
PLAT=${if stdenv.isDarwin then "macosx" else "linux"}
|
PLAT=${if stdenv.isDarwin then "macosx"
|
||||||
LUAPREFIX_linux=$out
|
else if stdenv.isFreeBSD then "freebsd"
|
||||||
LUAPREFIX_macosx=$out
|
else if stdenv.isLinux then "linux"
|
||||||
|
else if stdenv.isSunOS then "solaris"
|
||||||
|
else throw "unsupported platform"}
|
||||||
|
prefix=$out
|
||||||
);
|
);
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://w3.impa.br/~diego/software/luasocket/";
|
homepage = "http://w3.impa.br/~diego/software/luasocket/";
|
||||||
hydraPlatforms = stdenv.lib.platforms.linux;
|
hydraPlatforms = with platforms; [darwin linux freebsd illumos];
|
||||||
maintainers = with maintainers; [ mornfall ];
|
maintainers = with maintainers; [ mornfall ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user