fossil: add libiconv on darwin

+3 -2
+3 -2
pkgs/applications/version-management/fossil/default.nix
··· 1 - {stdenv, fetchurl, zlib, openssl, tcl, readline, sqlite, withJson ? true}: 2 3 stdenv.mkDerivation rec { 4 name = "fossil-1.33"; ··· 12 sha256 = "0gkzd9nj3xyznh9x8whv0phdnj11l5c8164rc3l0jvs5i61c95b2"; 13 }; 14 15 - buildInputs = [ zlib openssl readline sqlite ]; 16 nativeBuildInputs = [ tcl ]; 17 18 doCheck = true;
··· 1 + {stdenv, libiconv, fetchurl, zlib, openssl, tcl, readline, sqlite, withJson ? true}: 2 3 stdenv.mkDerivation rec { 4 name = "fossil-1.33"; ··· 12 sha256 = "0gkzd9nj3xyznh9x8whv0phdnj11l5c8164rc3l0jvs5i61c95b2"; 13 }; 14 15 + buildInputs = [ zlib openssl readline sqlite ] 16 + ++ stdenv.lib.optional stdenv.isDarwin libiconv; 17 nativeBuildInputs = [ tcl ]; 18 19 doCheck = true;