Commit Graph

14 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
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