3
0
Fork 0
forked from mirrors/nixpkgs

gpgme: disable tests on darwin

This commit is contained in:
Dmitry Kalinkin 2019-06-07 16:03:51 -04:00
parent 61f0936d1c
commit f19a36f524
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -40,7 +40,12 @@ stdenv.mkDerivation rec {
"--enable-fixed-path=${gnupg}/bin"
"--with-libgpg-error-prefix=${libgpgerror.dev}"
"--with-libassuan-prefix=${libassuan.dev}"
] ++ lib.optional pythonSupport "--enable-languages=python";
] ++ lib.optional pythonSupport "--enable-languages=python"
# Tests will try to communicate with gpg-agent instance via a UNIX socket
# which has a path length limit. Nix on darwin is using a build directory
# that already has quite a long path and the resulting socket path doesn't
# fit in the limit. https://github.com/NixOS/nix/pull/1085
++ lib.optionals stdenv.isDarwin [ "--disable-gpg-test" ];
NIX_CFLAGS_COMPILE =
# qgpgme uses Q_ASSERT which retains build inputs at runtime unless