Revert "gnupg: fix build on darwin"

This reverts commit db3602b5d6.

Fixed libusb build by 82d2960f15
This commit is contained in:
Luca Bruno 2015-07-16 10:36:29 +02:00
parent ec5f94fbcc
commit 60d19b3adc

View File

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