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:
parent
c112c3f51f
commit
922c555015
2 changed files with 3 additions and 3 deletions
|
@ -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 }:
|
||||
|
||||
let
|
||||
|
@ -37,7 +37,7 @@ stdenv.mkDerivation {
|
|||
''
|
||||
for i in $(cd $out/bin && ls); do
|
||||
wrapProgram $out/bin/$i \
|
||||
--prefix PYTHONPATH : "$(toPythonPath "$out ${curses}")" \
|
||||
--prefix PYTHONPATH : "$(toPythonPath "$out ${curses}"):$(toPythonPath "$out ${hg-git}"):$(toPythonPath "$out ${dulwich}")" \
|
||||
$WRAP_TK
|
||||
done
|
||||
|
||||
|
|
|
@ -11833,7 +11833,7 @@ let
|
|||
mendeley = callPackage ../applications/office/mendeley { };
|
||||
|
||||
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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue