forked from mirrors/nixpkgs
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";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ luasocket ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(
|
||||
${platformString}
|
||||
LUAPATH="$out/lib/lua/${lua.luaversion}"
|
||||
LUAPATH="$out/share/lua/${lua.luaversion}"
|
||||
LUACPATH="$out/lib/lua/${lua.luaversion}"
|
||||
INC_PATH="-I${lua}/include"
|
||||
LIB_PATH="-L$out/lib");
|
||||
|
|
Loading…
Reference in a new issue