about summary refs log tree commit diff
path: root/pkgs/tools/audio
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-08-28 03:16:17 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-08-31 14:00:13 +0200
commit45af244b2d44cc9a434c5da292f646cdbcadaa90 (patch)
treef41c237ea19d26c1c2f67bf009f4094a5ff7df91 /pkgs/tools/audio
parentcf5caf02c908a7e30884b69a7c554c6ad605ac94 (diff)
tts: relax mecab-python3 constraint
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r--pkgs/tools/audio/tts/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix
index dfc5f66464569..eceef5a0f9530 100644
--- a/pkgs/tools/audio/tts/default.nix
+++ b/pkgs/tools/audio/tts/default.nix
@@ -26,10 +26,12 @@ python3.pkgs.buildPythonApplication rec {
   };
 
   postPatch = ''
-    sed -i -e 's!librosa==[^"]*!librosa!' requirements.txt
-    sed -i -e 's!numba==[^"]*!numba!' requirements.txt
-    sed -i -e 's!numpy==[^"]*!numpy!' requirements.txt
-    sed -i -e 's!umap-learn==[^"]*!umap-learn!' requirements.txt
+    sed -i requirements.txt \
+      -e 's!librosa==[^"]*!librosa!' \
+      -e 's!mecab-python3==[^"]*!mecab-python3!' \
+      -e 's!numba==[^"]*!numba!' \
+      -e 's!numpy==[^"]*!numpy!' \
+      -e 's!umap-learn==[^"]*!umap-learn!'
   '';
 
   nativeBuildInputs = with python3.pkgs; [