Commit Graph

5 Commits

Author SHA1 Message Date
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
Wietse de Vries
1deafc47c9 calibre-web: add jsonschema dependency 2024-07-12 17:10:24 +02:00
Adam Stephens
40a7c18eb3
calibre-web: 0.6.21 -> 0.6.22 2024-07-07 09:23:03 -04:00
Adam Stephens
ead929d06b
calibre-web: add updateScript 2024-07-07 09:05:55 -04:00
Adam Stephens
6decebe6ff
calibre-web: move to by-name 2024-07-07 09:05:04 -04:00