Skip to content

Commit

Permalink
Merge pull request #62836 from veprbl/pr/gpgme_darwin_fix
Browse files Browse the repository at this point in the history
gpgme: disable tests on darwin
  • Loading branch information
matthewbauer committed Jun 7, 2019
2 parents 2ef3b52 + f19a36f commit b0053ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/development/libraries/gpgme/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit b0053ae

Please sign in to comment.