mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
git: allow applying patches by config
svn path=/nixpkgs/trunk/; revision=18897
This commit is contained in:
parent
78a1418e6d
commit
0ceae8f6d1
@ -15,6 +15,7 @@ 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 {
|
||||
|
@ -3,6 +3,7 @@
|
||||
, libxslt, tcl, tk, makeWrapper
|
||||
, svnSupport, subversion, perlLibs
|
||||
, guiSupport
|
||||
, additionalPatches ? []
|
||||
}:
|
||||
|
||||
# `git-svn' support requires Subversion and various Perl libraries.
|
||||
@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "4d1aaf16b4c37c8412cceab09b009bfc0f8d7b9f30a809b82027ab7fa66fdbb3";
|
||||
};
|
||||
|
||||
patches = [ ./docbook2texi.patch ];
|
||||
patches = [ ./docbook2texi.patch ] ++ additionalPatches;
|
||||
|
||||
buildInputs = [curl openssl zlib expat gettext cpio makeWrapper]
|
||||
++ # documentation tools
|
||||
|
Loading…
Reference in New Issue
Block a user