nixpkgs/pkgs/by-name/pa
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
..
pa-notify
pablodraw
pace
pack pack: 0.34.2 -> 0.35.0 2024-07-22 03:45:39 +00:00
packer packer: 1.11.1 -> 1.11.2 2024-07-31 23:28:36 -04:00
packj
pacproxy
pacu treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
padre
paho-mqtt-cpp
pahole
pam-honeycreds
pan-bindings
pantheon-tweaks
panvimdoc
paper-age
paper-clip
paper-plane
paperless-asn-qr-codes
paperlib paperlib: init at 3.1.6 2024-07-16 14:21:59 +02:00
papers
par2cmdline-turbo
parabolic
parallel-disk-usage parallel-disk-usage: 0.9.2 -> 0.9.3 2024-07-29 04:25:35 +00:00
parallel-hashmap treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck 2024-07-30 18:32:01 +02:00
paralus-cli pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
paratest treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
parinfer-rust-emacs pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
parsedmarc treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
parsify
pasco
passdetective
passes
passmark-performancetest
passt
passwdqc
patch2pr patch2pr: 0.25.0 -> 0.26.1 2024-07-16 03:29:49 +00:00
payloadsallthethings
payme