GNU gettext: Fix {Cyg,Dar}win hack.

svn path=/nixpkgs/trunk/; revision=17274
This commit is contained in:
Ludovic Courtès 2009-09-19 12:21:39 +00:00
parent 50c69a093c
commit 4e029cf721

View File

@ -1,6 +1,6 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (rec {
name = "gettext-0.17";
src = fetchurl {
@ -40,8 +40,10 @@ stdenv.mkDerivation rec {
//
(if (stdenv.system == "i686-darwin")
then (stdenv.mkDerivation rec {
(if (stdenv.system == "i686-darwin" || stdenv.system == "i686-cygwin")
then {
buildInputs = [
stdenv.mkDerivation rec {
name = "libiconv-1.13.1";
src = fetchurl {
@ -54,5 +56,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/libiconv/;
license = "LGPLv2+";
};
})
else {})
}
];
}
else {}))