nixpkgs/pkgs/by-name/mu
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
..
muffin muffin: Move from cinnamon scope to top-level 2024-07-23 22:12:40 +08:00
muffon
mullvad-browser {tor,mullvad}-browser: migrate to pkgs/by-name 2024-07-12 10:20:37 +02:00
multiplex multiplex: init at 0.1.4 2024-06-17 03:13:41 +08:00
multirun treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
muparser treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
mus treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
museum museum: init at photos-v0.9.5 2024-07-09 00:16:00 +02:00
music-assistant treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
musikcube musikcube: 3.0.3 -> 3.0.4 2024-07-16 08:39:21 +02:00