lua*Packages.luasec: improve paths
Test case that should execute without an error: echo "require('ssl.https')" | env NIX_PATH=nixpkgs=$(pwd) \ nix-shell --pure -p lua -p lua.pkgs.luasec --run lua
This commit is contained in:
parent
10237c8584
commit
90f8161745
@ -420,12 +420,13 @@ with self; {
|
|||||||
sha256 = "0wv8l7f7na7kw5xn8mjik2wpxbizl7zvvp5s7fcwvz9kl5jdpk5b";
|
sha256 = "0wv8l7f7na7kw5xn8mjik2wpxbizl7zvvp5s7fcwvz9kl5jdpk5b";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ luasocket ];
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
makeFlagsArray=(
|
makeFlagsArray=(
|
||||||
${platformString}
|
${platformString}
|
||||||
LUAPATH="$out/lib/lua/${lua.luaversion}"
|
LUAPATH="$out/share/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"
|
||||||
LIB_PATH="-L$out/lib");
|
LIB_PATH="-L$out/lib");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user