nixpkgs/pkgs/by-name/ro
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
..
roave-backward-compatibility-check
robo
robodoc
robotfindskitten
robotframework-tidy
rockcraft treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
rockyou
roddhjav-apparmor-rules roddhjav-apparmor-rules: 0-unstable-2024-07-12 -> 0-unstable-2024-07-20 2024-07-23 11:49:11 +00:00
rofi-blezz
rofi-obsidian
rofimoji
ronn ronn: move to by-name 2024-07-31 09:10:34 +02:00
roon-tui treewide: remove unused occurence of stdenv (and other) arguments 2024-07-14 04:32:56 +02:00
rosa
rose-pine-cursor
roslyn-ls roslyn-ls: 4.10.0-2.24124.2 -> 4.12.0-1.24359.11 2024-07-29 18:17:45 +02:00
rotonda
route-graph python312Packages.typer: include standard optional 2024-07-18 18:54:10 +02:00
routinator
roxterm