luasec: another attempt to fix on Darwin
This commit is contained in:
parent
6dd5c9de73
commit
b095efa969
|
@ -167,7 +167,9 @@ let
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray=(
|
makeFlagsArray=(
|
||||||
${stdenv.lib.optionalString stdenv.isLinux "linux"}
|
${if stdenv.isLinux then "linux"
|
||||||
|
else if stdenv.isDarwin then "macosx"
|
||||||
|
else "bsd"}
|
||||||
LUAPATH="$out/lib/lua/${lua.luaversion}"
|
LUAPATH="$out/lib/lua/${lua.luaversion}"
|
||||||
LUACPATH="$out/lib/lua/${lua.luaversion}"
|
LUACPATH="$out/lib/lua/${lua.luaversion}"
|
||||||
INC_PATH="-I${lua}/include"
|
INC_PATH="-I${lua}/include"
|
||||||
|
@ -176,7 +178,7 @@ let
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/brunoos/luasec";
|
homepage = "https://github.com/brunoos/luasec";
|
||||||
hydraPlatforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
maintainers = [ stdenv.lib.maintainers.flosse ];
|
maintainers = [ stdenv.lib.maintainers.flosse ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue