diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-05-04 10:24:00 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2021-05-04 10:24:00 +0000 |
commit | 35e57e81ae1cc6b8eff93a6e7dfb3237a6a7f1d3 (patch) | |
tree | 9585195a1474f5bb38c3992499a45fe968686b55 /pkgs/applications/version-management/tortoisehg | |
parent | a715d90fb044f7f104950a178878c4866e9557cb (diff) |
tortoisehg: fix build
tortoisehg intentionally wants to back-date the Mercurial build, and some of the features we've added to the Mercurial build won't work correctly under hg 5.6.
Diffstat (limited to 'pkgs/applications/version-management/tortoisehg')
-rw-r--r-- | pkgs/applications/version-management/tortoisehg/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/tortoisehg/default.nix b/pkgs/applications/version-management/tortoisehg/default.nix index 6c97d1536619d..a0fa9318a13f0 100644 --- a/pkgs/applications/version-management/tortoisehg/default.nix +++ b/pkgs/applications/version-management/tortoisehg/default.nix @@ -9,12 +9,16 @@ let sha256 = "031bafj88wggpvw0lgvl0djhlbhs9nls9vzwvni8yn0m0bgzc9gr"; }; - tortoiseMercurial = mercurial.overridePythonAttrs (old: rec { + tortoiseMercurial = (mercurial.override { + rustSupport = false; + re2Support = lib.versionAtLeast tortoisehgSrc.meta.version "5.8"; + }).overridePythonAttrs (old: rec { inherit (tortoisehgSrc.meta) version; src = fetchurl { url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz"; sha256 = "1hk2y30zzdnlv8f71kabvh0xi9c7qhp28ksh20vpd0r712sv79yz"; }; + patches = []; }); in python3Packages.buildPythonApplication { |