mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #136722 from prusnak/step-ca-tests
step-ca: re-enable tests on darwin by enabling local networking
This commit is contained in:
commit
3f14c85920
1 changed files with 3 additions and 4 deletions
|
@ -42,10 +42,9 @@ buildGoModule rec {
|
|||
install -Dm444 -t $out/lib/systemd/system systemd/step-ca.service
|
||||
'';
|
||||
|
||||
# Tests fail on darwin with
|
||||
# panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted [recovered]
|
||||
# probably some sandboxing issue
|
||||
doCheck = stdenv.isLinux;
|
||||
# Tests start http servers which need to bind to local addresses:
|
||||
# panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A private certificate authority (X.509 & SSH) & ACME server for secure automated certificate management, so you can use TLS everywhere & SSO for SSH";
|
||||
|
|
Loading…
Reference in a new issue