Commit Graph

13 Commits

Author SHA1 Message Date
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
h7x4
12315f53ff treewide: add mainProgram 2023-11-24 21:01:03 +01:00
Martin Weinelt
e84b11b501
piper-tts: 2023.11.6-1 -> 2023.11.14-2
https://github.com/rhasspy/piper/releases/tag/v2023.11.14-2
2023-11-14 21:49:04 +01:00
Martin Weinelt
6e99e2f4ce
piper-tts: 2023.9.27-1 -> 2023.11.6-1
https://github.com/rhasspy/piper/releases/tag/v2023.11.6-1
2023-11-06 17:54:36 +01:00
Martin Weinelt
20550edf35
piper-tts: 1.2.0 -> 2023.9.27-1
https://github.com/rhasspy/piper/releases/tag/2023.9.9-1
https://github.com/rhasspy/piper/releases/tag/2023.9.27-1
2023-10-23 01:17:48 +02:00
Jan Malakhovski
a0a909fa9e treewide: noop: replace every newly introduced stdenv.mkDerivation rec with a fixpoint over finalAttrs 2023-08-03 16:34:45 +00:00
Jan Malakhovski
5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
Martin Weinelt
24c0ba0ffc
piper-train: move to top-level and mark broken
Requires torch<2, which is difficult to provide in an override, so I'd
rather wait until they catch up.
2023-08-03 03:04:21 +02:00
Martin Weinelt
1fd038e11b
piper-tts: 0.0.2 -> 1.2.0
https://github.com/rhasspy/piper/releases/tag/v1.0.0
https://github.com/rhasspy/piper/releases/tag/v1.1.0
https://github.com/rhasspy/piper/releases/tag/v1.2.0
2023-08-03 02:47:59 +02:00
Christian Bourjau
6ae62cd2c8 piper: Apply patch to build with onnxruntime 1.15.1 2023-08-03 01:10:08 +02:00
Martin Weinelt
9c67abf20a
piper-tts: rename from larynx
and also the python package piper-train from larynx-train.
2023-06-12 18:44:44 +02:00