nokogiri: use libiconvOrEmpty. assert libiconv is not used on linux

This commit is contained in:
Domen Kožar 2014-11-22 21:13:13 +01:00
parent 8bf10bfc26
commit d562934ee7
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ fetchurl, writeScript, ruby, ncurses, sqlite, libxml2, libxslt, libffi
, zlib, libuuid, gems, jdk, python, stdenv, libiconvOrEmpty, imagemagick
, pkgconfig, libiconv }:
, pkgconfig }:
let
@ -83,8 +83,8 @@ in
buildInputs = [ libxml2 ];
buildFlags =
[ "--with-xml2-dir=${libxml2} --with-xml2-include=${libxml2}/include/libxml2"
"--with-xslt-dir=${libxslt} --with-iconv-dir=${libiconv} --use-system-libraries"
];
"--with-xslt-dir=${libxslt} --use-system-libraries"
] ++ libiconvOrEmpty;
};
pry = { gemFlags = "--no-ri --no-rdoc"; };

View File

@ -1,5 +1,7 @@
{ fetchurl, stdenv }:
assert (!stdenv.isLinux);
stdenv.mkDerivation rec {
name = "libiconv-1.14";