diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/moz-phab/default.nix | 11 | ||||
-rw-r--r-- | pkgs/applications/misc/moz-phab/relax-hglib-version.diff | 13 |
2 files changed, 6 insertions, 18 deletions
diff --git a/pkgs/applications/misc/moz-phab/default.nix b/pkgs/applications/misc/moz-phab/default.nix index 9666f974957..886e06a382b 100644 --- a/pkgs/applications/misc/moz-phab/default.nix +++ b/pkgs/applications/misc/moz-phab/default.nix @@ -20,11 +20,12 @@ buildPythonApplication rec { sha256 = "sha256-uKoMMSp5AIvB1qTRYAh7n1+2dDLneFbssfkfTTshfcs="; }; - patches = [ - # Relax python-hglib requirement - # https://phabricator.services.mozilla.com/D131618 - ./relax-hglib-version.diff - ]; + # Relax python-hglib requirement + # https://phabricator.services.mozilla.com/D131618 + postPatch = '' + substituteInPlace setup.py \ + --replace "==" ">=" + ''; propagatedBuildInputs = [ distro diff --git a/pkgs/applications/misc/moz-phab/relax-hglib-version.diff b/pkgs/applications/misc/moz-phab/relax-hglib-version.diff deleted file mode 100644 index 6d415242f46..00000000000 --- a/pkgs/applications/misc/moz-phab/relax-hglib-version.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/setup.py b/setup.py ---- a/setup.py -+++ b/setup.py -@@ -15,7 +15,7 @@ - install_requires=[ - "distro", - "glean-sdk>=36.0.0", -- "python-hglib==2.6.1", -+ "python-hglib>=2.6.2", - "sentry-sdk>=0.14.3", - "setuptools", - ], - |