git.iko.soy/typeable/nixpkgs
on master help sign in
mercurial: add hg-git support

Enable this feature by putting these lines into your ~/.hgrc file: [extensions] hgext.bookmarks = hggit =

commit922c5550154a3d6c518279835161757cc1c3a941 authorPeter Simons <simons@cryp.to> dateWed 24 Jun 2015, 11:30 (11 years ago) parentc112c3f
2 files changed+3−3
pkgs/applications/version-management/mercurial/default.nix+2−2 pkgs/top-level/all-packages.nix+1−1
pkgs/applications/version-management/mercurial/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, python, makeWrapper, docutils, unzip
1+{ stdenv, fetchurl, python, makeWrapper, docutils, unzip, hg-git, dulwich
22, guiSupport ? false, tk ? null, curses, cacert }:
33
44let
@@ -37,7 +37,7 @@ stdenv.mkDerivation {
3737 ''
3838 for i in $(cd $out/bin && ls); do
3939 wrapProgram $out/bin/$i \
40− --prefix PYTHONPATH : "$(toPythonPath "$out ${curses}")" \
40+ --prefix PYTHONPATH : "$(toPythonPath "$out ${curses}"):$(toPythonPath "$out ${hg-git}"):$(toPythonPath "$out ${dulwich}")" \
4141 $WRAP_TK
4242 done
4343
pkgs/top-level/all-packages.nix+1−1
@@ -11833,7 +11833,7 @@ let
1183311833 mendeley = callPackage ../applications/office/mendeley { };
1183411834
1183511835 mercurial = callPackage ../applications/version-management/mercurial {
11836− inherit (pythonPackages) curses docutils;
11836+ inherit (pythonPackages) curses docutils hg-git dulwich;
1183711837 guiSupport = false; # use mercurialFull to get hgk GUI
1183811838 };
1183911839