Revert "git: allow applying patches by config"

This reverts commit rev 18897
I should have used overrideDerivation.

svn path=/nixpkgs/trunk/; revision=18911
This commit is contained in:
Marc Weber 2009-12-12 18:10:26 +00:00
parent f63059dd05
commit 362f811a7a
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,6 @@ rec {
svnSupport = getConfig ["git" "svnSupport"] false; # for git-svn support
guiSupport = getConfig ["git" "guiSupport"] false;
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey subversion];
additionalPatches = getConfig ["git" "additionalPatches"] [];
};
gitGit = import ./git/git-git.nix {

View File

@ -3,7 +3,6 @@
, libxslt, tcl, tk, makeWrapper
, svnSupport, subversion, perlLibs
, guiSupport
, additionalPatches ? []
}:
# `git-svn' support requires Subversion and various Perl libraries.
@ -17,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "4d1aaf16b4c37c8412cceab09b009bfc0f8d7b9f30a809b82027ab7fa66fdbb3";
};
patches = [ ./docbook2texi.patch ] ++ additionalPatches;
patches = [ ./docbook2texi.patch ];
buildInputs = [curl openssl zlib expat gettext cpio makeWrapper]
++ # documentation tools