Merge pull request #304704 from deshaw/upstream-fix-nginxModules.lua

authored by Sandro and committed by GitHub e79a4cbd b15047c7

+1 -8
+1 -8
pkgs/servers/http/nginx/modules.nix
··· 385 385 386 386 inputs = [ luajit_openresty ]; 387 387 388 - preConfigure = let 389 - # fix compilation against nginx 1.23.0 390 - nginx-1-23-patch = fetchpatch { 391 - url = "https://github.com/openresty/lua-nginx-module/commit/b6d167cf1a93c0c885c28db5a439f2404874cb26.patch"; 392 - sha256 = "sha256-l7GHFNZXg+RG2SIBjYJO1JHdGUtthWnzLIqEORJUNr4="; 393 - }; 394 - in '' 388 + preConfigure = '' 395 389 export LUAJIT_LIB="${luajit_openresty}/lib" 396 390 export LUAJIT_INC="$(realpath ${luajit_openresty}/include/luajit-*)" 397 391 ··· 399 393 lua_src=$TMPDIR/lua-src 400 394 cp -r "${src}/" "$lua_src" 401 395 chmod -R +w "$lua_src" 402 - patch -p1 -d $lua_src -i ${nginx-1-23-patch} 403 396 export configureFlags="''${configureFlags//"${src}"/"$lua_src"}" 404 397 unset lua_src 405 398 '';