summary refs log tree commit diff
path: root/pkgs/development/libraries/gpgme
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-06-07 16:03:51 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-06-07 16:03:51 -0400
commitf19a36f524b396125561f6d481ed6e3865dc3e63 (patch)
tree9a3b862993fe84de82561bd1b6ae390d6ee5215a /pkgs/development/libraries/gpgme
parent61f0936d1cd73760312712615233cd80195a9b47 (diff)
downloadnixpkgs-f19a36f524b396125561f6d481ed6e3865dc3e63.tar
nixpkgs-f19a36f524b396125561f6d481ed6e3865dc3e63.tar.gz
nixpkgs-f19a36f524b396125561f6d481ed6e3865dc3e63.tar.bz2
nixpkgs-f19a36f524b396125561f6d481ed6e3865dc3e63.tar.lz
nixpkgs-f19a36f524b396125561f6d481ed6e3865dc3e63.tar.xz
nixpkgs-f19a36f524b396125561f6d481ed6e3865dc3e63.tar.zst
nixpkgs-f19a36f524b396125561f6d481ed6e3865dc3e63.zip
gpgme: disable tests on darwin
Diffstat (limited to 'pkgs/development/libraries/gpgme')
-rw-r--r--pkgs/development/libraries/gpgme/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gpgme/default.nix b/pkgs/development/libraries/gpgme/default.nix
index 98a42aac72a..fc7634128dc 100644
--- a/pkgs/development/libraries/gpgme/default.nix
+++ b/pkgs/development/libraries/gpgme/default.nix
@@ -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