1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

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