darwin purity: mercurial

This commit is contained in:
Jude Taylor 2015-06-22 14:10:56 -07:00
parent c0e1f2e34f
commit a8c98bc013
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
{ stdenv, fetchurl, python, makeWrapper, docutils, unzip, hg-git, dulwich
, guiSupport ? false, tk ? null, curses, cacert }:
, guiSupport ? false, tk ? null, curses, cacert
, ApplicationServices }:
let
version = "3.3.3";
@ -17,7 +19,8 @@ stdenv.mkDerivation {
inherit python; # pass it so that the same version can be used in hg2git
pythonPackages = [ curses ];
buildInputs = [ python makeWrapper docutils unzip ];
buildInputs = [ python makeWrapper docutils unzip ]
++ stdenv.lib.optional stdenv.isDarwin ApplicationServices;
makeFlags = "PREFIX=$(out)";

View File

@ -11776,6 +11776,7 @@ let
mercurial = callPackage ../applications/version-management/mercurial {
inherit (pythonPackages) curses docutils hg-git dulwich;
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
guiSupport = false; # use mercurialFull to get hgk GUI
};