3
0
Fork 0
forked from mirrors/nixpkgs

mercurial: add hg-git support

Enable this feature by putting these lines into your ~/.hgrc file:

  [extensions]
  hgext.bookmarks =
  hggit =
This commit is contained in:
Peter Simons 2015-06-24 11:30:59 +02:00
parent c112c3f51f
commit 922c555015
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, makeWrapper, docutils, unzip { stdenv, fetchurl, python, makeWrapper, docutils, unzip, hg-git, dulwich
, guiSupport ? false, tk ? null, curses, cacert }: , guiSupport ? false, tk ? null, curses, cacert }:
let let
@ -37,7 +37,7 @@ stdenv.mkDerivation {
'' ''
for i in $(cd $out/bin && ls); do for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i \ wrapProgram $out/bin/$i \
--prefix PYTHONPATH : "$(toPythonPath "$out ${curses}")" \ --prefix PYTHONPATH : "$(toPythonPath "$out ${curses}"):$(toPythonPath "$out ${hg-git}"):$(toPythonPath "$out ${dulwich}")" \
$WRAP_TK $WRAP_TK
done done

View file

@ -11833,7 +11833,7 @@ let
mendeley = callPackage ../applications/office/mendeley { }; mendeley = callPackage ../applications/office/mendeley { };
mercurial = callPackage ../applications/version-management/mercurial { mercurial = callPackage ../applications/version-management/mercurial {
inherit (pythonPackages) curses docutils; inherit (pythonPackages) curses docutils hg-git dulwich;
guiSupport = false; # use mercurialFull to get hgk GUI guiSupport = false; # use mercurialFull to get hgk GUI
}; };