Conversation
|
|
Make sure you upgrade to v1.14.2 to fix GHSA-2c93-xxqg-54gm. |
|
fixed darwin build |
isabelroses
left a comment
There was a problem hiding this comment.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 391924
x86_64-linux
✅ 1 package built:
- anubis
aarch64-darwin
✅ 1 package built:
- anubis
| "-X=github.com/TecharoHQ/anubis.Version=v${finalAttrs.version}" | ||
| ] | ||
| ++ lib.optionals stdenv.hostPlatform.isLinux [ | ||
| "-extldflags=-static" |
There was a problem hiding this comment.
Is this really necessary? At least on x86_64-linux the build also succeeds without this flag and the exact same binary is produced.
There was a problem hiding this comment.
I'm not sure. Since CGO is enabled by default, I think it is unnecessary, but the upstream builds with it https://github.com/TecharoHQ/anubis/blob/main/.ko.yaml#L12
There was a problem hiding this comment.
Ok, if upstream adds this flag, we can probably just keep it
|
soopyc
left a comment
There was a problem hiding this comment.
tested working on x86_64-linux
Anubis is an HTTP reverse proxy designed to block malicious clients. See https://github.com/TecharoHQ/anubis/.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.