From 7754fddc2e493b128442bdac72d082502de8327d Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 4 Sep 2022 00:33:32 +0300 Subject: [PATCH] pls: fix build --- pkgs/tools/misc/pls/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/pls/default.nix b/pkgs/tools/misc/pls/default.nix index d6ffd653204b..95c775417cb8 100644 --- a/pkgs/tools/misc/pls/default.nix +++ b/pkgs/tools/misc/pls/default.nix @@ -26,6 +26,11 @@ python3.pkgs.buildPythonApplication rec { pytestCheckHook ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'rich = "^12.5.1"' 'rich = "*"' \ + ''; + pytestFlagsArray = [ "tests/" "--ignore=tests/e2e" ]; pythonImportsCheck = [ "pls" ];