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
gpgme: disable tests on darwin #60193
Conversation
As a long-term solution this doesn't look like a good idea to me but I don't mind merging it as a quick fix for the meantime :) Looking at the end of the log it seems to fail due to
I'm assuming that the cc @matthewbauer (as the maintainer of |
Yeah these tests usually assume we aren’t headless. This should override it but i’m not sure if it works: https://github.com/GPGTools/pinentry-mac/blob/master/Source/main.m#L71 |
I tried with:
but unfortunately still times out |
I noticed a while back that setting GPG_TTY stopped working on darwin, maybe this is related. |
I get
There is a limit to the length of |
The length of paths for unix sockets is also limited to 104 characters, this can sometimes cause problems for tests since the default $TMPDIR on darwin has a pretty long prefix. |
this seems to be fixed after fd2bd6e |
Motivation for this change
gpgme tests times out on darwin https://hydra.nixos.org/build/92440044/
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)