From 28eee98b4431ee15cfddb33d8659e39f4ffd894f Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 27 Jul 2022 02:09:24 +0200 Subject: [PATCH] tts: don't override librosa fetcher, replace it --- pkgs/tools/audio/tts/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix index 159d68feac0f..6291c45f839e 100644 --- a/pkgs/tools/audio/tts/default.nix +++ b/pkgs/tools/audio/tts/default.nix @@ -21,7 +21,8 @@ let # TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given librosa = super.librosa.overridePythonAttrs (oldAttrs: rec { version = "0.8.1"; - src = oldAttrs.src.override { + src = super.fetchPypi { + pname = "librosa"; inherit version; sha256 = "c53d05e768ae4a3e553ae21c2e5015293e5efbfd5c12d497f1104cb519cca6b3"; };