Merge pull request #8732 from lovek323/gnupg-darwin

gnupg: fix build on darwin
This commit is contained in:
William A. Kennington III 2015-07-15 17:37:59 -07:00
commit c8c11371b9

View File

@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
buildInputs
= [ readline zlib libgpgerror libgcrypt libassuan libksba pth
openldap bzip2 libusb curl libiconv ];
openldap bzip2 curl libiconv ]
++ stdenv.lib.optional (!stdenv.isDarwin) libusb;
patchPhase = ''
find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i