forked from mirrors/nixpkgs
Minor fixes for git on darwin (libiconv and Security dependencies)
This commit is contained in:
parent
a68484a0ac
commit
a78d164b1e
|
@ -8,7 +8,7 @@ let
|
|||
gitBase = lib.makeOverridable (import ./git) {
|
||||
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
||||
asciidoc xmlto docbook2x docbook_xsl docbook_xml_dtd_45 libxslt cpio tcl
|
||||
tk makeWrapper subversionClient gzip;
|
||||
tk makeWrapper subversionClient gzip libiconv;
|
||||
texinfo = texinfo5;
|
||||
svnSupport = false; # for git-svn support
|
||||
guiSupport = false; # requires tcl/tk
|
||||
|
@ -73,6 +73,7 @@ rec {
|
|||
hub = import ./hub {
|
||||
inherit go;
|
||||
inherit stdenv fetchgit;
|
||||
inherit (darwin) Security;
|
||||
};
|
||||
|
||||
gitFastExport = import ./fast-export {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ fetchurl, stdenv, curl, openssl, zlib, expat, perl, python, gettext, cpio, gnugrep, gzip
|
||||
, asciidoc, texinfo, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_45
|
||||
, libxslt, tcl, tk, makeWrapper
|
||||
, libxslt, tcl, tk, makeWrapper, libiconv
|
||||
, svnSupport, subversionClient, perlLibs, smtpPerlLibs
|
||||
, guiSupport
|
||||
, withManual ? true
|
||||
|
@ -31,7 +31,7 @@ stdenv.mkDerivation {
|
|||
./ssl-cert-file.patch
|
||||
];
|
||||
|
||||
buildInputs = [curl openssl zlib expat gettext cpio makeWrapper]
|
||||
buildInputs = [curl openssl zlib expat gettext cpio makeWrapper libiconv]
|
||||
++ stdenv.lib.optionals withManual [ asciidoc texinfo xmlto docbook2x
|
||||
docbook_xsl docbook_xml_dtd_45 libxslt ]
|
||||
++ stdenv.lib.optionals guiSupport [tcl tk];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchgit, go }:
|
||||
{ stdenv, fetchgit, go, Security }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "hub-${version}";
|
||||
|
@ -10,11 +10,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1f6r8vlwnmqmr85drfv24vhqx1aacz6s83c2i804v9997n0wrwfm";
|
||||
};
|
||||
|
||||
buildInputs = [ go ];
|
||||
|
||||
buildInputs = [ go ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
phases = [ "unpackPhase" "buildPhase" "installPhase" ];
|
||||
|
||||
buildPhase = ''
|
||||
patchShebangs .
|
||||
sh script/build
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue