From d192057519e7ba2cd998cccaa998c49c3aa70be5 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Thu, 4 Feb 2016 15:13:24 +0000 Subject: hg_crecord: revert changes adding mercurial crecord crecord is included in modern hg releases - I failed to realize this. --- pkgs/applications/version-management/mercurial/default.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'pkgs/applications/version-management') diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index 0557b8a2c55e..d69291293204 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, python, makeWrapper, docutils, unzip, hg-git, dulwich -, guiSupport ? false, tk ? null, hg-crecord ? null, curses +, guiSupport ? false, tk ? null, curses , ApplicationServices, cf-private }: let @@ -37,13 +37,6 @@ stdenv.mkDerivation { WRAP_TK=" --set TK_LIBRARY \"${tk}/lib/${tk.libPrefix}\" --set HG \"$out/bin/hg\" --prefix PATH : \"${tk}/bin\" " - '') + (stdenv.lib.optionalString (hg-crecord != null) - '' - mkdir -p $out/etc/mercurial - cat >> $out/etc/mercurial/hgrc << EOF - [extensions] - crecord=${hg-crecord}/${python.sitePackages}/crecord - EOF '') + '' for i in $(cd $out/bin && ls); do -- cgit 1.4.1