mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
darwin purity: mercurial
This commit is contained in:
parent
c0e1f2e34f
commit
a8c98bc013
@ -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)";
|
||||
|
||||
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user