tts 0 -> 1 attrpath: tts Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/k9ghhfg5l43q5bwnw09y55azifzqml6q-packages.json.drv building '/nix/store/k9ghhfg5l43q5bwnw09y55azifzqml6q-packages.json.drv'... Going to be running update for following packages: - tts-0.20.2 Press Enter key to continue... Running update for: - tts-0.20.2: UPDATING ... - tts-0.20.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix index d761e4605190..31492d80fa44 100644 --- a/pkgs/tools/audio/tts/default.nix +++ b/pkgs/tools/audio/tts/default.nix @@ -16,14 +16,14 @@ let in python.pkgs.buildPythonApplication rec { pname = "tts"; - version = "0.20.2"; + version = "0.22.0"; pyproject = true; src = fetchFromGitHub { owner = "coqui-ai"; repo = "TTS"; rev = "refs/tags/v${version}"; - hash = "sha256-1nlSf15IEX1qKfDtR6+jQqskjxIuzaIWatkj9Z1fh8Y="; + hash = "sha256-RQVlPHYZ5X/6xbxwGNcgntcyAsBS8T2ketdk+OCIS3Q="; }; postPatch = let No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/cs41wvvf98zsgw7vbpfabj5f8d2y0ihz-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A tts Received ExitFailure 1 when running Raw command: /nix/store/cs41wvvf98zsgw7vbpfabj5f8d2y0ihz-nix-2.18.2/bin/nix --extra-experimental-features nix-command log -f . tts Standard output: error: … while evaluating the attribute 'drvPath' at /var/cache/nixpkgs-update/worker/worktree/tts/lib/customisation.nix:268:7: 267| in commonAttrs // { 268| drvPath = assert condition; drv.drvPath; | ^ 269| outPath = assert condition; drv.outPath; … while calling the 'derivationStrict' builtin at /builtin/derivation.nix:9:12: (source not available) (stack trace truncated; use '--show-trace' to show the full trace) error: Package ‘python3.11-torch-2.2.1’ in /var/cache/nixpkgs-update/worker/worktree/tts/pkgs/development/python-modules/torch/bin.nix:101 has an unfree license (‘bsd3 issl unfreeRedistributable’), refusing to evaluate. a) To temporarily allow unfree packages, you can use an environment variable for a single invocation of the nix tools. $ export NIXPKGS_ALLOW_UNFREE=1 Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, then pass `--impure` in order to allow use of environment variables. b) For `nixos-rebuild` you can set { nixpkgs.config.allowUnfree = true; } in configuration.nix to override this. Alternatively you can configure a predicate to allow specific packages: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "python3.11-torch-2.2.1" ]; } c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add { allowUnfree = true; } to ~/.config/nixpkgs/config.nix.