From 922c5550154a3d6c518279835161757cc1c3a941 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 24 Jun 2015 11:30:59 +0200 Subject: [PATCH] mercurial: add hg-git support Enable this feature by putting these lines into your ~/.hgrc file: [extensions] hgext.bookmarks = hggit = --- pkgs/applications/version-management/mercurial/default.nix | 4 ++-- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index 565c95af508..2db8cf72350 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index efd2257ce57..26a7fbe3377 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 };