mercurial: add re2

Mercurial can make use of the RE2 regex engine where available to speed
up evaluation of regexes.
wip/yesman
Luke Granger-Brown 3 years ago
parent eb3d65bf19
commit 53ddf53f2c
  1. 3
      pkgs/applications/version-management/mercurial/default.nix

@ -5,7 +5,7 @@
}:
let
inherit (python3Packages) docutils python;
inherit (python3Packages) docutils python fb-re2;
in python3Packages.buildPythonApplication rec {
pname = "mercurial";
@ -28,6 +28,7 @@ in python3Packages.buildPythonApplication rec {
} else null;
cargoRoot = if rustSupport then "rust" else null;
propagatedBuildInputs = [ fb-re2 ];
nativeBuildInputs = [ makeWrapper gettext ]
++ lib.optionals rustSupport (with rustPlatform; [
cargoSetupHook

Loading…
Cancel
Save