diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/openllm-core/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/openllm-core/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/openllm-core/default.nix b/nixpkgs/pkgs/development/python-modules/openllm-core/default.nix index ccf6aceef8bf..c807f668b271 100644 --- a/nixpkgs/pkgs/development/python-modules/openllm-core/default.nix +++ b/nixpkgs/pkgs/development/python-modules/openllm-core/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder +, pythonRelaxDepsHook , accelerate , attrs , bitsandbytes @@ -41,6 +42,17 @@ buildPythonPackage rec { hatch-fancy-pypi-readme hatch-vcs hatchling + pythonRelaxDepsHook + ]; + + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "hatch-vcs==0.3.0" "hatch-vcs" \ + --replace "hatchling==1.18.0" "hatchling" + ''; + + pythonRelaxDeps = [ + "cattrs" ]; propagatedBuildInputs = [ |