nixpkgs/pkgs/by-name/yt
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
..
yt-dlg treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
yt-dlp yt-dlp: 2024.7.25 -> 2024.8.1 2024-08-01 19:51:22 +02:00
ytdownloader treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ytermusic treewide: remove unused occurence of stdenv (and other) arguments 2024-07-14 04:32:56 +02:00
ytmdesktop ytmdesktop: fix desktop file, removed unused stuff 2024-07-11 13:00:47 +02:00
ytree treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
ytui-music