diff options
Diffstat (limited to 'pkgs/tools/audio/tts/default.nix')
-rw-r--r-- | pkgs/tools/audio/tts/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix index 6b286321382..86090958235 100644 --- a/pkgs/tools/audio/tts/default.nix +++ b/pkgs/tools/audio/tts/default.nix @@ -41,9 +41,15 @@ python.pkgs.buildPythonApplication rec { in '' sed -r -i \ ${lib.concatStringsSep "\n" (map (package: - ''-e 's/${package}.*[<>=]+.*/${package}/g' \'' + ''-e 's/${package}\s*[<>=]+.+/${package}/g' \'' ) relaxedConstraints)} requirements.txt + + sed -r -i \ + ${lib.concatStringsSep "\n" (map (package: + ''-e 's/${package}\s*[<>=]+[^"]+/${package}/g' \'' + ) relaxedConstraints)} + pyproject.toml # only used for notebooks and visualization sed -r -i -e '/umap-learn/d' requirements.txt ''; |