nixpkgs/pkgs/by-name/sn
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
..
sn0int
sn-pro
snapcraft treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
snekim pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
snes9x snes9x: enableParallelBuilding = true 2024-07-15 15:05:04 +01:00
snicat snicat: migrate to buildGoModule 2024-06-07 22:15:40 +02:00
sniffglue
snipaste
snipe-it snipe-it: 7.0.6 -> 7.0.7 2024-07-05 17:18:27 +00:00
snippetexpander snippetexpander: 1.0.2 -> 1.0.3 2024-07-16 08:40:08 +01:00
snippetexpanderd snippetexpander: 1.0.2 -> 1.0.3 2024-07-16 08:40:08 +01:00
snippetexpandergui pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
snippetexpanderx treewide: remove unused fetch* (and other) arguments 2024-05-30 13:36:48 +02:00
snowmachine treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
snx-rs maintainers: drop lheckemann 2024-06-21 15:54:54 +02:00