nixpkgs/pkgs/by-name/ch
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
..
ch341eeprom treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
challenger challenger: 0.10.0 -> 0.11.0 2024-06-07 15:42:53 +02:00
chance chance: init at 4.0.0 2024-07-16 10:02:39 +05:30
changelog-d
charm-freeze treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
charmcraft treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
chatd chatd: init at 1.1.2 2024-07-08 13:28:21 -03:00
chatgpt-shell-cli
chawan chawan: 0-unstable-2024-03-01 -> 0-unstable-2024-07-14 2024-07-15 20:09:35 -04:00
cheese gnome: Unmaintain dead packages 2024-07-01 09:35:26 +02:00
chemacs2
chess-clock
chess-tui treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
chezmoi chezmoi: 2.50.0 -> 2.51.0 2024-07-16 14:17:32 +02:00
choose-gui choose-gui: init 1.3.1 2024-07-04 14:59:56 -06:00
chow-centaur ChowCentaur: rename to chow-centaur 2024-06-16 15:34:04 +02:00
chow-kick treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
chow-phaser treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
chow-tape-model treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
chromatic
chrysalis chrysalis: remove unneeded rec 2024-06-24 12:21:02 -04:00