mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
gnupg: use libiconvOrEmpty instead of libiconv (not required for glibc platforms)
This commit is contained in:
parent
150a6a7063
commit
b62aa175a2
@ -2,7 +2,7 @@
|
||||
# 'echo "pinentry-program `which pinentry-gtk-2`" >> ~/.gnupg/gpg-agent.conf'.
|
||||
|
||||
{ fetchurl, stdenv, readline, zlib, libgpgerror, pth, libgcrypt, libassuan
|
||||
, libksba, coreutils, libiconv
|
||||
, libksba, coreutils, libiconvOrEmpty
|
||||
, useLdap ? true, openldap ? null, useBzip2 ? true, bzip2 ? null
|
||||
, useUsb ? true, libusb ? null, useCurl ? true, curl ? null
|
||||
}:
|
||||
@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs
|
||||
= [ readline zlib libgpgerror libgcrypt libassuan libksba pth libiconv ]
|
||||
= [ readline zlib libgpgerror libgcrypt libassuan libksba pth ]
|
||||
++ libiconvOrEmpty
|
||||
++ stdenv.lib.optional useLdap openldap
|
||||
++ stdenv.lib.optional useBzip2 bzip2
|
||||
++ stdenv.lib.optional useUsb libusb
|
||||
|
Loading…
Reference in New Issue
Block a user