We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following derivation is broken on master and nixos-17.09:
master
nixos-17.09
{ callPackage, nginxModules }: let stable = import ./pkgs/servers/http/nginx/stable.nix; in callPackage stable { modules = [ nginxModules.lua ]; }
I did some bisecting and traced this back to d7501b9.
Save the above derivation as nginx.nix in the root of nixpkgs and run
nginx.nix
nixpkgs
nix-build --no-out-link -E 'with (import ./default.nix {}); pkgs.callPackage ./nginx.nix {}'
17.03.1810.6c8b819c99 (Gorilla)
nix-env (Nix) 1.11.14
The text was updated successfully, but these errors were encountered:
Looking at the linked commit, I tried cargo-culting this patch and rebuilding:
diff --git a/pkgs/servers/http/nginx/modules.nix b/pkgs/servers/http/nginx/modules.nix index 98141c13c0..ac7afd2115 100644 --- a/pkgs/servers/http/nginx/modules.nix +++ b/pkgs/servers/http/nginx/modules.nix @@ -73,6 +73,13 @@ sha256 = "0wz5j4kqa6hk7ar42bkxp0hd74psjy6sfsldh1a6p93z349iz4v5"; }; inputs = [ pkgs.luajit ]; + + # needed since luajit-2.1.0-beta3 + NIX_CFLAGS_COMPILE = [ + "-DluaL_reg=luaL_Reg" + "-DluaL_getn(L,i)=((int)lua_objlen(L,i))" + ]; + preConfigure = '' export LUAJIT_LIB="${pkgs.luajit}/lib" export LUAJIT_INC="${pkgs.luajit}/include/luajit-2.0"
but this did not seem to make a difference.
Sorry, something went wrong.
No branches or pull requests
Issue description
The following derivation is broken on
master
andnixos-17.09
:I did some bisecting and traced this back to d7501b9.
Steps to reproduce
Save the above derivation as
nginx.nix
in the root ofnixpkgs
and runnix-build --no-out-link -E 'with (import ./default.nix {}); pkgs.callPackage ./nginx.nix {}'
Technical details
17.03.1810.6c8b819c99 (Gorilla)
nix-env (Nix) 1.11.14
The text was updated successfully, but these errors were encountered: