diff --git a/python/bench.nix b/python/bench.nix index ad4e484..ff236f7 100644 --- a/python/bench.nix +++ b/python/bench.nix @@ -32,9 +32,12 @@ buildPythonPackage rec { }; format = "pyproject"; + postPatch = '' + substituteInPlace pyproject.toml --replace-fail 'hatchling>=1.6.0,<=1.21.0' 'hatchling<=1.24.2' + ''; nativeBuildInputs = [ pythonRelaxDepsHook ]; - pythonRelaxDeps = [ "jinja2" "python-crontab" "semantic-version" "hatchling" ]; + pythonRelaxDeps = [ "jinja2" "python-crontab" "semantic-version" ]; buildInputs = [ hatchling