From 74ced3209ee63dc87a19e6c049716571d982423e Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Wed, 18 Dec 2013 15:41:35 +0200 Subject: [PATCH] enca: update dependencies --- pkgs/tools/text/enca/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/enca/default.nix b/pkgs/tools/text/enca/default.nix index 68748e626408..23223572bb23 100644 --- a/pkgs/tools/text/enca/default.nix +++ b/pkgs/tools/text/enca/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libiconv ? null }: +{ stdenv, fetchurl, libiconvOrNull, recode }: stdenv.mkDerivation rec { name = "enca-1.15"; @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { sha256 = "1iibfl2s420x7bc1hvxr1ys4cpz579brg2m2ln4rp677azmrr8mv"; }; - buildInputs = (stdenv.lib.optional (libiconv != null) libiconv); + buildInputs = [ recode libiconvOrNull ]; meta = { homepage = http://freecode.com/projects/enca;