New issue
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
openresty: 1.9.3.1 -> 1.13.6.1 #36289
Conversation
@GrahamcOfBorg build openresty |
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
{ stdenv, fetchurl, fetchgit, openssl, zlib, pcre, libxml2, libxslt, gd, geoip | ||
, perl }: | ||
{ stdenv, fetchurl, fetchgit, openssl, zlib, pcre, postgresql, libxml2, libxslt, | ||
gd, geoip, perl }: | ||
|
||
assert stdenv.isLinux; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can be removed. meta.platforms
is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for review. Removed.
Package should also build on darwin, I've removed linux restriction. |
@GrahamcOfBorg build openresty |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
}; | ||
|
||
buildInputs = [ openssl zlib pcre libxml2 libxslt gd geoip perl ]; | ||
nativeBuildInputs = [ openssl zlib pcre libxml2 libxslt gd geoip postgresql ]; | ||
buildInputs = [ perl ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that you mixed up nativeBuildInputs
and buildInputs
? Libraries should be be in buildInputs
and native tools (the architecture of the host compiling the package) should be in nativeBuildInputs
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, nativeBuildInputs
should be in buildInputs
, they are needed also in runtime. Thanks for fixup.
@GrahamcOfBorg build openresty |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Here we go! |
Motivation for this change
Bump, cc @thoughtpolice
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)