Merge branch 'kill-libiconv' of git://github.com/gridaphobe/nixpkgs into staging

Took "ours" for the conflict and changed libiconvOrEmpty to libiconv

Conflicts:
pkgs/applications/audio/ncmpcpp/default.nix

Shea Levy 127efcd6 db4cb021

+88 -116
+3 -4
pkgs/applications/audio/ncmpcpp/default.nix
··· 1 1 { stdenv, fetchurl, boost, mpd_clientlib, ncurses, pkgconfig, readline 2 - , libiconvOrEmpty 2 + , libiconv 3 3 , outputsSupport ? false # outputs screen 4 4 , visualizerSupport ? false, fftw ? null # visualizer screen 5 5 , clockSupport ? false # clock screen ··· 30 30 ++ optional curlSupport "--with-curl" 31 31 ++ optional taglibSupport "--with-taglib"; 32 32 33 - buildInputs = [ boost mpd_clientlib ncurses pkgconfig readline ] 33 + buildInputs = [ boost mpd_clientlib ncurses pkgconfig readline libiconv ] 34 34 ++ optional curlSupport curl 35 35 ++ optional visualizerSupport fftw 36 - ++ optional taglibSupport taglib 37 - ++ libiconvOrEmpty; 36 + ++ optional taglibSupport taglib; 38 37 39 38 meta = { 40 39 description = "A featureful ncurses based MPD client inspired by ncmpc";
+2 -3
pkgs/applications/misc/gammu/default.nix
··· 1 1 { stdenv, fetchurl, python, pkgconfig, cmake, bluez, libusb1, curl 2 - , libiconvOrEmpty, gettext, sqlite }: 2 + , libiconv, gettext, sqlite }: 3 3 4 4 with stdenv.lib; 5 5 ··· 14 14 15 15 patches = [ ./bashcomp-dir.patch ]; 16 16 17 - buildInputs = [ python pkgconfig cmake bluez libusb1 curl gettext sqlite ] 18 - ++ libiconvOrEmpty; 17 + buildInputs = [ python pkgconfig cmake bluez libusb1 curl gettext sqlite libiconv ]; 19 18 20 19 enableParallelBuilding = true; 21 20
+2 -3
pkgs/applications/networking/feedreaders/newsbeuter/default.nix
··· 1 1 { stdenv, fetchurl, sqlite, curl, pkgconfig, libxml2, stfl, json-c-0-11, ncurses 2 - , gettext, libiconvOrEmpty, makeWrapper, perl }: 2 + , gettext, libiconv, makeWrapper, perl }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "newsbeuter-2.8"; ··· 13 13 buildInputs 14 14 # use gettext instead of libintlOrEmpty so we have access to the msgfmt 15 15 # command 16 - = [ pkgconfig sqlite curl libxml2 stfl json-c-0-11 ncurses gettext perl ] 17 - ++ libiconvOrEmpty 16 + = [ pkgconfig sqlite curl libxml2 stfl json-c-0-11 ncurses gettext perl libiconv ] 18 17 ++ stdenv.lib.optional stdenv.isDarwin makeWrapper; 19 18 20 19 preBuild = ''
+2 -3
pkgs/applications/networking/feedreaders/newsbeuter/dev.nix
··· 1 1 { stdenv, fetchgit, sqlite, curl, pkgconfig, libxml2, stfl, json-c-0-11, ncurses 2 - , gettext, libiconvOrEmpty, makeWrapper, perl }: 2 + , gettext, libiconv, makeWrapper, perl }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "newsbeuter-dev-20140309"; ··· 13 13 buildInputs 14 14 # use gettext instead of libintlOrEmpty so we have access to the msgfmt 15 15 # command 16 - = [ pkgconfig sqlite curl libxml2 stfl json-c-0-11 ncurses gettext perl ] 17 - ++ libiconvOrEmpty 16 + = [ pkgconfig sqlite curl libxml2 stfl json-c-0-11 ncurses gettext perl libiconv ] 18 17 ++ stdenv.lib.optional stdenv.isDarwin makeWrapper; 19 18 20 19 preBuild = ''
+3 -3
pkgs/applications/networking/p2p/twister/default.nix
··· 1 1 { stdenv, fetchurl, autoconf, automake, libtool, pkgconfig, python 2 - , boost, db, openssl, geoip, libiconvOrEmpty, miniupnpc 2 + , boost, db, openssl, geoip, libiconv, miniupnpc 3 3 , srcOnly, fetchgit 4 4 }: 5 5 ··· 33 33 34 34 buildInputs = [ 35 35 autoconf automake libtool pkgconfig python 36 - boost db openssl geoip miniupnpc 37 - ] ++ libiconvOrEmpty; 36 + boost db openssl geoip miniupnpc libiconv 37 + ]; 38 38 39 39 postPatch = '' 40 40 sed -i -e '/-htmldir/s|(default: [^)]*)|(default: ${twisterHTML})|' \
+2 -3
pkgs/applications/science/astronomy/stellarium/default.nix
··· 1 1 { stdenv, fetchurl, cmake, freetype, libpng, mesa, gettext, openssl, qt5, perl 2 - , libiconvOrEmpty }: 2 + , libiconv }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "stellarium-0.13.2"; ··· 9 9 sha256 = "1asrq1v6vjzxd2zz92brdfs5f5b1qf8zwd7k2dpg3dl4shl8wwg5"; 10 10 }; 11 11 12 - buildInputs = [ cmake freetype libpng mesa gettext openssl qt5 perl ] 13 - ++ libiconvOrEmpty; 12 + buildInputs = [ cmake freetype libpng mesa gettext openssl qt5 perl libiconv ]; 14 13 15 14 enableParallelBuilding = true; 16 15
+2 -2
pkgs/applications/search/recoll/default.nix
··· 1 1 { stdenv, fetchurl 2 2 , qt4, xapian, file, python 3 3 , djvulibre, groff, libxslt, unzip, xpdf, antiword, catdoc, lyx 4 - , ghostscript, gawk, gnugrep, gnused, gnutar, gzip, libiconvOrLibc }: 4 + , ghostscript, gawk, gnugrep, gnused, gnutar, gzip, libiconv }: 5 5 6 6 assert stdenv.system != "powerpc-linux"; 7 7 ··· 31 31 substituteInPlace $f --replace grep ${gnugrep}/bin/grep 32 32 substituteInPlace $f --replace groff ${groff}/bin/groff 33 33 substituteInPlace $f --replace gunzip ${gzip}/bin/gunzip 34 - substituteInPlace $f --replace iconv ${libiconvOrLibc}/bin/iconv 34 + substituteInPlace $f --replace iconv ${libiconv}/bin/iconv 35 35 substituteInPlace $f --replace lyx ${lyx}/bin/lyx 36 36 substituteInPlace $f --replace pdftotext ${xpdf}/bin/pdftotext 37 37 substituteInPlace $f --replace pstotext ${ghostscript}/bin/ps2ascii
+3 -4
pkgs/applications/version-management/redmine/default.nix
··· 1 - { stdenv, fetchurl, ruby, bundler, libiconv, libiconvOrNull, libiconvOrLibc, libxslt, libxml2, pkgconfig, libffi, glibc, imagemagickBig, postgresql }: 1 + { stdenv, fetchurl, ruby, bundler, libiconv, libxslt, libxml2, pkgconfig, libffi, glibc, imagemagickBig, postgresql }: 2 2 3 3 let 4 4 gemspec = map (gem: fetchurl { url=gem.url; sha256=gem.hash; }) (import ./Gemfile.nix); ··· 25 25 ''; 26 26 27 27 buildInputs = [ 28 - ruby bundler 29 - ] ++ (if (libiconvOrNull != null) then [libiconv] else []) ++ [ 28 + ruby bundler libiconv 30 29 libxslt libxml2 pkgconfig libffi 31 30 imagemagickBig postgresql 32 31 ]; ··· 48 47 49 48 bundle config build.nokogiri \ 50 49 --use-system-libraries \ 51 - --with-iconv-dir=${libiconvOrLibc} \ 50 + --with-iconv-dir=${libiconv} \ 52 51 --with-xslt-dir=${libxslt} \ 53 52 --with-xml2-dir=${libxml2} \ 54 53 --with-pkg-config \
+2 -3
pkgs/applications/video/aegisub/default.nix
··· 1 1 { stdenv, fetchurl 2 2 , libX11, wxGTK 3 - , libiconvOrEmpty, fontconfig, freetype 3 + , libiconv, fontconfig, freetype 4 4 , mesa 5 5 , libass, fftw, ffms 6 6 , ffmpeg, pkgconfig, zlib # Undocumented (?) dependencies ··· 30 30 31 31 buildInputs = with stdenv.lib; 32 32 [ pkgconfig intltool libX11 wxGTK fontconfig freetype mesa 33 - libass fftw ffms ffmpeg zlib icu boost boost.lib 33 + libass fftw ffms ffmpeg zlib icu boost boost.lib libiconv 34 34 ] 35 - ++ libiconvOrEmpty 36 35 ++ optional spellChecking hunspell 37 36 ++ optional automationSupport lua 38 37 ++ optional openalSupport openal
+2 -3
pkgs/development/compilers/vala/0.26.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, flex, bison, libxslt 2 - , glib, libiconvOrEmpty, libintlOrEmpty 2 + , glib, libiconv, libintlOrEmpty 3 3 }: 4 4 5 5 let ··· 25 25 26 26 nativeBuildInputs = [ pkgconfig flex bison libxslt ]; 27 27 28 - buildInputs = [ glib ] 29 - ++ libiconvOrEmpty 28 + buildInputs = [ glib libiconv ] 30 29 ++ libintlOrEmpty; 31 30 }
+2 -3
pkgs/development/compilers/vala/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, flex, bison, libxslt 2 - , glib, libiconvOrEmpty, libintlOrEmpty 2 + , glib, libiconv, libintlOrEmpty 3 3 }: 4 4 5 5 let ··· 25 25 26 26 nativeBuildInputs = [ pkgconfig flex bison libxslt ]; 27 27 28 - buildInputs = [ glib ] 29 - ++ libiconvOrEmpty 28 + buildInputs = [ glib libiconv ] 30 29 ++ libintlOrEmpty; 31 30 }
+2 -2
pkgs/development/interpreters/ruby/patches.nix
··· 1 1 { fetchurl, writeScript, ruby, ncurses, sqlite, libxml2, libxslt, libffi 2 - , zlib, libuuid, gems, jdk, python, stdenv, libiconvOrEmpty, imagemagick 2 + , zlib, libuuid, gems, jdk, python, stdenv, libiconv, imagemagick 3 3 , pkgconfig }: 4 4 5 5 let ··· 33 33 NIX_POST_EXTRACT_FILES_HOOK = patchUsrBinEnv; 34 34 }; 35 35 36 - iconv = { buildInputs = [ libiconvOrEmpty ]; }; 36 + iconv = { buildInputs = [ libiconv ]; }; 37 37 38 38 libv8 = { 39 39 # This fix is needed to fool scons, which clears the environment by default.
+2 -2
pkgs/development/libraries/apr-util/default.nix
··· 2 2 , sslSupport ? true, openssl 3 3 , bdbSupport ? false, db 4 4 , ldapSupport ? true, openldap 5 - , libiconvOrNull 5 + , libiconv 6 6 }: 7 7 8 8 assert sslSupport -> openssl != null; ··· 29 29 ${stdenv.lib.optionalString ldapSupport "--with-ldap"} 30 30 ''; 31 31 32 - propagatedBuildInputs = [ makeWrapper apr expat libiconvOrNull ] 32 + propagatedBuildInputs = [ makeWrapper apr expat libiconv ] 33 33 ++ optional sslSupport openssl 34 34 ++ optional bdbSupport db 35 35 ++ optional ldapSupport openldap;
+3 -4
pkgs/development/libraries/avahi/default.nix
··· 1 1 { fetchurl, stdenv, pkgconfig, libdaemon, dbus, perl, perlXMLParser 2 - , expat, gettext, intltool, glib, libiconvOrEmpty 2 + , expat, gettext, intltool, glib, libiconv 3 3 , qt4 ? null 4 4 , qt4Support ? false 5 5 , withLibdnssdCompat ? false }: ··· 16 16 17 17 patches = [ ./no-mkdir-localstatedir.patch ]; 18 18 19 - buildInputs = [ libdaemon dbus perl perlXMLParser glib expat ] 20 - ++ (stdenv.lib.optional qt4Support qt4) 21 - ++ libiconvOrEmpty; 19 + buildInputs = [ libdaemon dbus perl perlXMLParser glib expat libiconv ] 20 + ++ (stdenv.lib.optional qt4Support qt4); 22 21 23 22 nativeBuildInputs = [ pkgconfig gettext intltool ]; 24 23
+2 -2
pkgs/development/libraries/cairo/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, pkgconfig, libiconvOrEmpty, libintlOrEmpty 1 + { stdenv, fetchurl, fetchpatch, pkgconfig, libiconv, libintlOrEmpty 2 2 , expat, zlib, libpng, pixman, fontconfig, freetype, xlibs 3 3 , gobjectSupport ? true, glib 4 4 , xcbSupport ? true # no longer experimental since 1.12 ··· 24 24 sha256 = "0mk2fd9fwxqzravlmnbbrzwak15wqspn7609y0yn6qh87va5i0x4"; 25 25 })]; 26 26 27 - nativeBuildInputs = [ pkgconfig ] ++ libintlOrEmpty ++ libiconvOrEmpty; 27 + nativeBuildInputs = [ pkgconfig libiconv ] ++ libintlOrEmpty; 28 28 29 29 propagatedBuildInputs = 30 30 with xlibs; [ xlibs.xlibs fontconfig expat freetype pixman zlib libpng ]
+2 -2
pkgs/development/libraries/dbus-glib/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, expat, gettext, libiconvOrEmpty, dbus, glib }: 1 + { stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "dbus-glib-0.102"; ··· 10 10 11 11 nativeBuildInputs = [ pkgconfig gettext ]; 12 12 13 - buildInputs = [ expat ] ++ libiconvOrEmpty; 13 + buildInputs = [ expat libiconv ]; 14 14 15 15 propagatedBuildInputs = [ dbus.libs glib ]; 16 16
+2 -3
pkgs/development/libraries/glib/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, gettext, perl, python 2 - , libiconvOrEmpty, libintlOrEmpty, zlib, libffi, pcre, libelf 2 + , libiconv, libintlOrEmpty, zlib, libffi, pcre, libelf 3 3 4 4 # this is just for tests (not in closure of any regular package) 5 5 , coreutils, dbus_daemon, libxml2, tzdata, desktop_file_utils, shared_mime_info, doCheck ? false ··· 60 60 61 61 nativeBuildInputs = [ pkgconfig gettext perl python ]; 62 62 63 - propagatedBuildInputs = [ pcre zlib libffi ] 64 - ++ optional (!stdenv.isDarwin) libiconvOrEmpty 63 + propagatedBuildInputs = [ pcre zlib libffi libiconv ] 65 64 ++ libintlOrEmpty; 66 65 67 66 configureFlags =
+2 -3
pkgs/development/libraries/libgsf/default.nix
··· 1 1 { fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2 2 - , python, gdk_pixbuf, libiconvOrEmpty, libintlOrEmpty }: 2 + , python, gdk_pixbuf, libiconv, libintlOrEmpty }: 3 3 4 4 with { inherit (stdenv.lib) optionals; }; 5 5 ··· 15 15 16 16 buildInputs = [ gettext bzip2 zlib python ]; 17 17 18 - propagatedBuildInputs = [ libxml2 glib gdk_pixbuf ] 19 - ++ libiconvOrEmpty 18 + propagatedBuildInputs = [ libxml2 glib gdk_pixbuf libiconv ] 20 19 ++ libintlOrEmpty; 21 20 22 21 doCheck = true;
+4 -3
pkgs/development/libraries/libtorrent-rasterbar/generic.nix
··· 1 - { stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconvOrNull, geoip 1 + { stdenv, fetchurl, boost, openssl, pkgconfig, zlib, python, libiconv, geoip 2 2 # Version specific options 3 3 , version, sha256 4 4 , ... }: ··· 11 11 inherit sha256; 12 12 }; 13 13 14 - buildInputs = [ boost pkgconfig openssl zlib python libiconvOrNull geoip ]; 14 + buildInputs = [ boost pkgconfig openssl zlib python libiconv geoip ]; 15 15 16 16 configureFlags = [ 17 17 "--enable-python-binding" ··· 19 19 "--with-libiconv=yes" 20 20 "--with-boost=${boost.dev}" 21 21 "--with-boost-libdir=${boost.lib}/lib" 22 - ] ++ stdenv.lib.optional (libiconvOrNull != null) "--with-libiconv=yes"; 22 + "--with-libiconv=yes" 23 + ]; 23 24 24 25 meta = with stdenv.lib; { 25 26 homepage = http://www.rasterbar.com/products/libtorrent/;
+2 -2
pkgs/development/libraries/p11-kit/default.nix
··· 1 - { stdenv, fetchurl, libiconvOrEmpty, pkgconfig, libffi, libtasn1 }: 1 + { stdenv, fetchurl, libiconv, pkgconfig, libffi, libtasn1 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "p11-kit-0.20.2"; ··· 12 12 13 13 configureFlags = "--without-libtasn1"; 14 14 15 - buildInputs = [ pkgconfig libffi libtasn1 ] ++ libiconvOrEmpty; 15 + buildInputs = [ pkgconfig libffi libtasn1 libiconv ]; 16 16 17 17 meta = { 18 18 homepage = http://p11-glue.freedesktop.org/;
+2 -2
pkgs/development/libraries/poppler/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, pkgconfig, cmake, libiconvOrEmpty, libintlOrEmpty 1 + { stdenv, fetchurl, fetchpatch, pkgconfig, cmake, libiconv, libintlOrEmpty 2 2 , zlib, curl, cairo, freetype, fontconfig, lcms, libjpeg, openjpeg 3 3 , qt4Support ? false, qt4 ? null, qt5 4 4 }: ··· 26 26 27 27 propagatedBuildInputs = [ zlib cairo freetype fontconfig libjpeg lcms curl openjpeg ]; 28 28 29 - nativeBuildInputs = [ pkgconfig cmake ] ++ libiconvOrEmpty ++ libintlOrEmpty; 29 + nativeBuildInputs = [ pkgconfig cmake libiconv ] ++ libintlOrEmpty; 30 30 31 31 cmakeFlags = "-DENABLE_XPDF_HEADERS=ON -DENABLE_LIBCURL=ON -DENABLE_ZLIB=ON"; 32 32
+2 -2
pkgs/development/libraries/stfl/default.nix
··· 1 - { stdenv, fetchurl, ncurses, libiconvOrEmpty }: 1 + { stdenv, fetchurl, ncurses, libiconv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "stfl-0.22"; ··· 8 8 sha256 = "062lqlf3qhp8bcapbpc0k3wym7x6ngncql8jmx5x06p6679szp9d"; 9 9 }; 10 10 11 - buildInputs = [ ncurses ] ++ libiconvOrEmpty; 11 + buildInputs = [ ncurses libiconv ]; 12 12 13 13 buildPhase = '' 14 14 sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h
+3 -6
pkgs/development/ocaml-modules/ocaml-text/default.nix
··· 1 - {stdenv, fetchurl, libiconvOrNull, ocaml, findlib, ncurses}: 1 + {stdenv, fetchurl, libiconv, ocaml, findlib, ncurses}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "ocaml-text-0.6"; ··· 8 8 sha256 = "0j8gaak0ajnlmn8knvfygqwwzs7awjv5rfn5cbj6qxqbxhjd5m6g"; 9 9 }; 10 10 11 - buildInputs = [ocaml findlib ncurses] 12 - ++ stdenv.lib.optional (libiconvOrNull != null) libiconvOrNull; 11 + buildInputs = [ocaml findlib ncurses libiconv]; 13 12 14 - configurePhase = 15 - (stdenv.lib.optionalString (libiconvOrNull != null) "iconv_prefix=${libiconvOrNull} ") 16 - + "ocaml setup.ml -configure"; 13 + configurePhase = "iconv_prefix=${libiconv} ocaml setup.ml -configure"; 17 14 18 15 createFindlibDestdir = true; 19 16
+2 -2
pkgs/development/tools/vagrant/default.nix
··· 1 - { stdenv, fetchurl, dpkg, curl, libarchive, openssl, ruby, buildRubyGem, libiconvOrLibc 1 + { stdenv, fetchurl, dpkg, curl, libarchive, openssl, ruby, buildRubyGem, libiconv 2 2 , libxml2, libxslt }: 3 3 4 4 assert stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux"; ··· 73 73 74 74 # libiconv: iconv 75 75 rm opt/vagrant/embedded/bin/iconv 76 - ln -s ${libiconvOrLibc}/bin/iconv opt/vagrant/embedded/bin 76 + ln -s ${libiconv}/bin/iconv opt/vagrant/embedded/bin 77 77 78 78 # libxml: xml2-config, xmlcatalog, xmllint 79 79 rm opt/vagrant/embedded/bin/{xml2-config,xmlcatalog,xmllint}
+2 -2
pkgs/misc/ghostscript/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, zlib, expat, openssl 2 2 , libjpeg, libpng, libtiff, freetype, fontconfig, lcms2, libpaper, jbig2dec 3 - , libiconvOrEmpty 3 + , libiconv 4 4 , x11Support ? false, x11 ? null 5 5 , cupsSupport ? false, cups ? null 6 6 }: ··· 33 33 buildInputs = 34 34 [ pkgconfig zlib expat openssl 35 35 libjpeg libpng libtiff freetype fontconfig lcms2 libpaper jbig2dec 36 + libiconv 36 37 ] 37 38 ++ stdenv.lib.optional x11Support x11 38 39 ++ stdenv.lib.optional cupsSupport cups 39 - ++ libiconvOrEmpty 40 40 # [] # maybe sometimes jpeg2000 support 41 41 ; 42 42
+2 -2
pkgs/servers/irc/ngircd/default.nix
··· 1 - { stdenv, fetchurl, zlib, openssl, pam, libiconvOrNull }: 1 + { stdenv, fetchurl, zlib, openssl, pam, libiconv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ngircd-21"; ··· 17 17 "--with-iconv" 18 18 ]; 19 19 20 - buildInputs = [ zlib pam openssl libiconvOrNull ]; 20 + buildInputs = [ zlib pam openssl libiconv ]; 21 21 22 22 meta = { 23 23 description = "Next Generation IRC Daemon";
+2 -2
pkgs/tools/filesystems/netatalk/default.nix
··· 1 - { fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconvOrEmpty, pam, openssl }: 1 + { fetchurl, stdenv, pkgconfig, db, libgcrypt, avahi, libiconv, pam, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "netatalk-3.1.0"; ··· 8 8 sha256 = "1d8dc8ysslkis4yl1xab1w9p0pz7a1kg0i6fds4wxsp4fhb6wqhq"; 9 9 }; 10 10 11 - buildInputs = [ pkgconfig db libgcrypt avahi pam openssl ] ++ libiconvOrEmpty; 11 + buildInputs = [ pkgconfig db libgcrypt avahi pam openssl libiconv ]; 12 12 13 13 configureFlags = [ 14 14 "--with-bdb=${db}"
+2 -2
pkgs/tools/misc/aescrypt/default.nix
··· 1 - { stdenv, fetchurl, libiconvOrEmpty }: 1 + { stdenv, fetchurl, libiconv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.0.9"; ··· 19 19 cp aescrypt_keygen $out/bin 20 20 ''; 21 21 22 - buildInputs = [ libiconvOrEmpty ]; 22 + buildInputs = [ libiconv ]; 23 23 24 24 NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv"; 25 25
+3 -3
pkgs/tools/misc/mdbtools/git.nix
··· 1 1 { stdenv, fetchurl, fetchgit, glib, readline, bison, flex, pkgconfig, 2 - libiconvOrEmpty, autoconf, automake, libtool, which, txt2man, gnome_doc_utils, 2 + libiconv, autoconf, automake, libtool, which, txt2man, gnome_doc_utils, 3 3 scrollkeeper}: 4 4 5 5 stdenv.mkDerivation { ··· 13 13 14 14 buildInputs = [ 15 15 glib readline bison flex pkgconfig autoconf automake 16 - libtool which txt2man gnome_doc_utils scrollkeeper 17 - ] ++ libiconvOrEmpty; 16 + libtool which txt2man gnome_doc_utils scrollkeeper libiconv 17 + ]; 18 18 19 19 preConfigure = '' 20 20 sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
+2 -2
pkgs/tools/package-management/disnix/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, dbus_glib, libxml2, libxslt, getopt, nixUnstable, dysnomia, libintlOrEmpty, libiconvOrEmpty }: 1 + { stdenv, fetchurl, pkgconfig, dbus_glib, libxml2, libxslt, getopt, nixUnstable, dysnomia, libintlOrEmpty, libiconv }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "disnix-0.3prea0484a2c19d1947c21f11b4fc7c3f6049bd11efa"; ··· 8 8 sha256 = "06qjaxysnkm31rgjlqy9n7p59q5v3jl57jm9jya7zf2g90syhdn7"; 9 9 }; 10 10 11 - buildInputs = [ pkgconfig dbus_glib libxml2 libxslt getopt nixUnstable libintlOrEmpty libiconvOrEmpty dysnomia ]; 11 + buildInputs = [ pkgconfig dbus_glib libxml2 libxslt getopt nixUnstable libintlOrEmpty libiconv dysnomia ]; 12 12 13 13 dontStrip = true; 14 14
+5 -7
pkgs/tools/security/clamav/default.nix
··· 1 - { stdenv, fetchurl, zlib, bzip2, libiconvOrNull, libxml2, openssl, ncurses, curl }: 1 + { stdenv, fetchurl, zlib, bzip2, libiconv, libxml2, openssl, ncurses, curl }: 2 2 stdenv.mkDerivation rec { 3 3 name = "clamav-${version}"; 4 4 version = "0.98.6"; ··· 8 8 sha256 = "0l99a0shgzpl8rvrrgbm1ki2zxlb7g1n82bhq7f2snj4amfj94b5"; 9 9 }; 10 10 11 - buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl ] 12 - ++ stdenv.lib.optional (libiconvOrNull != null) libiconvOrNull; 11 + buildInputs = [ zlib bzip2 libxml2 openssl ncurses curl libiconv ]; 13 12 14 13 configureFlags = [ 15 14 "--with-zlib=${zlib}" 16 15 "--with-libbz2-prefix=${bzip2}" 17 - ] ++ (stdenv.lib.optional (libiconvOrNull != null) 18 - "--with-iconv-dir=${libiconvOrNull}") 19 - ++ [ 16 + "--with-iconv-dir=${libiconv}" 20 17 "--with-xml=${libxml2}" 21 18 "--with-openssl=${openssl}" 22 19 "--with-libncurses-prefix=${ncurses}" 23 20 "--with-libcurl=${curl}" 24 - "--disable-clamav" ]; 21 + "--disable-clamav" 22 + ]; 25 23 26 24 meta = with stdenv.lib; { 27 25 homepage = http://www.clamav.net;
+2 -3
pkgs/tools/security/gnupg/20.nix
··· 1 1 { fetchurl, stdenv, readline, zlib, libgpgerror, pth, libgcrypt, libassuan 2 - , libksba, coreutils, libiconvOrEmpty 2 + , libksba, coreutils, libiconv 3 3 # Each of the dependencies below are optional. 4 4 # Gnupg can be built without them at the cost of reduced functionality. 5 5 , pinentry ? null, openldap ? null, bzip2 ? null, libusb ? null, curl ? null ··· 15 15 16 16 buildInputs 17 17 = [ readline zlib libgpgerror libgcrypt libassuan libksba pth 18 - openldap bzip2 libusb curl ] 19 - ++ libiconvOrEmpty; 18 + openldap bzip2 libusb curl libiconv ]; 20 19 21 20 patchPhase = '' 22 21 find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i
+2 -2
pkgs/tools/security/opensc/default.nix
··· 1 - { stdenv, fetchurl, libtool, readline, zlib, openssl, libiconvOrNull, pcsclite 1 + { stdenv, fetchurl, libtool, readline, zlib, openssl, libiconv, pcsclite 2 2 , libassuan1, pkgconfig, libXt, docbook_xsl, libxslt, docbook_xml_dtd_412 3 3 }: 4 4 ··· 11 11 }; 12 12 13 13 buildInputs = [ libtool readline zlib openssl pcsclite libassuan1 pkgconfig 14 - libXt libxslt libiconvOrNull docbook_xml_dtd_412 14 + libXt libxslt libiconv docbook_xml_dtd_412 15 15 ]; 16 16 17 17 configureFlags = [
+2 -2
pkgs/tools/text/enca/default.nix
··· 1 - { stdenv, fetchurl, libiconvOrNull, recode }: 1 + { stdenv, fetchurl, libiconv, recode }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "enca-1.16"; ··· 8 8 sha256 = "0hg7ggldam66l9j53nlrvi2lv1k99r2qfk6dh23vg6mi05cph7bw"; 9 9 }; 10 10 11 - buildInputs = [ recode libiconvOrNull ]; 11 + buildInputs = [ recode libiconv ]; 12 12 13 13 meta = { 14 14 homepage = http://freecode.com/projects/enca;
+2 -4
pkgs/tools/text/gnugrep/default.nix
··· 1 - { stdenv, fetchurl, pcre, libiconvOrNull }: 1 + { stdenv, fetchurl, pcre, libiconv }: 2 2 3 3 let version = "2.20"; in 4 4 ··· 10 10 sha256 = "0rcs0spsxdmh6yz8y4frkqp6f5iw19mdbdl9s2v6956hq0mlbbzh"; 11 11 }; 12 12 13 - buildInputs = [ pcre libiconvOrNull ]; 14 - 15 - NIX_LDFLAGS = stdenv.lib.optionalString (libiconvOrNull != null) "-L${libiconvOrNull}/lib -liconv"; 13 + buildInputs = [ pcre libiconv ]; 16 14 17 15 doCheck = !stdenv.isDarwin; 18 16
+3 -3
pkgs/tools/typesetting/docbook2x/default.nix
··· 1 1 { fetchurl, stdenv, texinfo, perl 2 2 , XMLSAX, XMLParser, XMLNamespaceSupport 3 - , groff, libxml2, libxslt, gnused, libiconvOrEmpty, opensp 3 + , groff, libxml2, libxslt, gnused, libiconv, opensp 4 4 , docbook_xml_dtd_43 5 5 , makeWrapper }: 6 6 ··· 17 17 patches = [ ./db2x_texixml-to-stdout.patch ]; 18 18 19 19 buildInputs = [ perl texinfo groff libxml2 libxslt makeWrapper 20 - XMLSAX XMLParser XMLNamespaceSupport opensp 21 - ] ++ libiconvOrEmpty; 20 + XMLSAX XMLParser XMLNamespaceSupport opensp libiconv 21 + ]; 22 22 23 23 postConfigure = '' 24 24 # Broken substitution is used for `perl/config.pl', which leaves literal
+4 -13
pkgs/top-level/all-packages.nix
··· 6250 6250 6251 6251 libgsf = callPackage ../development/libraries/libgsf { }; 6252 6252 6253 - libiconv = callPackage ../development/libraries/libiconv { }; 6254 - 6255 - libiconvOrEmpty = if libiconvOrNull == null then [] else [libiconv]; 6256 - 6257 - libiconvOrNull = 6258 - if stdenv.cc.libc or null != null || stdenv.isGlibc 6259 - then null 6260 - else libiconv; 6261 - 6262 - # The logic behind this attribute is broken: libiconvOrNull==null does 6263 - # NOT imply libiconv=glibc! On Darwin, for example, we have a native 6264 - # libiconv library which is not glibc. 6265 - libiconvOrLibc = if libiconvOrNull == null then stdenv.cc.libc else libiconv; 6253 + libiconv = 6254 + if stdenv.isGlibc 6255 + then stdenv.cc.libc 6256 + else callPackage ../development/libraries/libiconv { }; 6266 6257 6267 6258 # On non-GNU systems we need GNU Gettext for libintl. 6268 6259 libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux) gettext;