diff options
author | Robert Scott <code@humanleg.org.uk> | 2016-02-04 15:13:24 +0000 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2016-02-04 15:13:24 +0000 |
commit | d192057519e7ba2cd998cccaa998c49c3aa70be5 (patch) | |
tree | d043c6575cd597c218f785aea2b183279890b144 /pkgs/applications/version-management/mercurial | |
parent | 27016659046a8f8e7b4fd61ecbceaf9f5e306258 (diff) |
hg_crecord: revert changes adding mercurial crecord
crecord is included in modern hg releases - I failed to realize this.
Diffstat (limited to 'pkgs/applications/version-management/mercurial')
-rw-r--r-- | pkgs/applications/version-management/mercurial/default.nix | 9 |
1 files changed, 1 insertions, 8 deletions
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 |