From 2177bf30740933ae44644643a24e6fde506ee4d0 Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Mon, 25 Apr 2016 09:07:32 -0700 Subject: [PATCH] fossil: add libiconv on darwin --- pkgs/applications/version-management/fossil/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/fossil/default.nix b/pkgs/applications/version-management/fossil/default.nix index 19c2c1f2ef15..58e3a5cc34f7 100644 --- a/pkgs/applications/version-management/fossil/default.nix +++ b/pkgs/applications/version-management/fossil/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, zlib, openssl, tcl, readline, sqlite, withJson ? true}: +{stdenv, libiconv, fetchurl, zlib, openssl, tcl, readline, sqlite, withJson ? true}: stdenv.mkDerivation rec { name = "fossil-1.33"; @@ -12,7 +12,8 @@ stdenv.mkDerivation rec { sha256 = "0gkzd9nj3xyznh9x8whv0phdnj11l5c8164rc3l0jvs5i61c95b2"; }; - buildInputs = [ zlib openssl readline sqlite ]; + buildInputs = [ zlib openssl readline sqlite ] + ++ stdenv.lib.optional stdenv.isDarwin libiconv; nativeBuildInputs = [ tcl ]; doCheck = true;