about summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorGreg Pfeil <greg@technomadic.org>2015-07-24 22:44:17 -0600
committerGreg Pfeil <greg@technomadic.org>2015-07-27 11:53:34 -0600
commit2cbfdb8ff41119050c7c1ceef106f381454c03c2 (patch)
tree80c3993bfdd1390c98900cd93ea3482465da6450 /pkgs/tools/security
parent4fab7321bf17b23572c57f05aedbf2271e304074 (diff)
downloadnixlib-2cbfdb8ff41119050c7c1ceef106f381454c03c2.tar
nixlib-2cbfdb8ff41119050c7c1ceef106f381454c03c2.tar.gz
nixlib-2cbfdb8ff41119050c7c1ceef106f381454c03c2.tar.bz2
nixlib-2cbfdb8ff41119050c7c1ceef106f381454c03c2.tar.lz
nixlib-2cbfdb8ff41119050c7c1ceef106f381454c03c2.tar.xz
nixlib-2cbfdb8ff41119050c7c1ceef106f381454c03c2.tar.zst
nixlib-2cbfdb8ff41119050c7c1ceef106f381454c03c2.zip
gnugpg: Add libiconv dependency.
Tested using the pure-darwin alternate stdenv on Yosemite.

I need this change for gnupg to build. Otherwise, I get this error:

```
configure:
***
*** The system does not provide a working iconv function.  Please
*** install a suitable library; for example GNU Libiconv which is
*** available at:
***   http://ftp.gnu.org/gnu/libiconv/
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***
builder for ‘/nix/store/pvzqmfzc05ifmvi0vglyl2xlkcdgh6c2-gnupg-2.1.6.drv’ failed with exit code 1
```

cc: @wkennington
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/gnupg/21.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/gnupg/21.nix b/pkgs/tools/security/gnupg/21.nix
index 8ef96d4d14ea..2bbd73763dc7 100644
--- a/pkgs/tools/security/gnupg/21.nix
+++ b/pkgs/tools/security/gnupg/21.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, pkgconfig, libgcrypt, libassuan, libksba, npth
+{ fetchurl, stdenv, pkgconfig, libgcrypt, libassuan, libksba, libiconv, npth
 , autoreconfHook, gettext, texinfo, pcsclite
 
 # Each of the dependencies below are optional.
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
   '';
 
   buildInputs = [
-    pkgconfig libgcrypt libassuan libksba npth
+    pkgconfig libgcrypt libassuan libksba libiconv npth
     autoreconfHook gettext texinfo
     readline libusb gnutls adns openldap zlib bzip2
   ];