Commit Graph

16 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
Jörg Thalheim
afaf0aaea1 archivebox: fix build 2024-03-09 09:22:09 +01:00
Stanisław Pitucha
db0c2f5db4 archivebox: 0.6.2 -> 0.7.1 2024-01-10 20:56:25 +11:00
Robert Schütz
9acd7a1737
Revert "archivebox: 0.6.2 -> 0.7.1" 2023-12-28 03:47:24 -08:00
Stanislaw Pitucha
f4c049b00b nodePackages.postlight-parser: init at 2.2.3 2023-12-26 22:12:10 +11:00
Stanisław Pitucha
677196c259 nodePackages.readability-extractor: init at 0.0.6 2023-12-26 22:10:48 +11:00
Stanisław Pitucha
05f0788fc4 archivebox: 0.6.2 -> 0.7.1 2023-12-26 22:10:16 +11:00
c01o
84ec2a53f4 archivebox: fix build issue on dependency
django 3.1 or below is no longer supported in django-extensions 3.2 or later.
2023-07-13 21:31:02 +00:00
Weijia Wang
13600367b2 treewide: misc: use top-level fetchPypi 2023-05-25 17:07:31 +03:00
lassulus
f5a02eb84e archivebox: use hash instead of sha256 2022-08-15 21:52:11 +02:00
Robert Schütz
067314d87f archivebox: mark insecure
Django 3.1 has reached the end of extended support and all
vulnerabilities listed on [1] as affecting Django 3.2 should be assumed
to also affect Django 3.1.

[1]: https://www.djangoproject.com/weblog/2022/apr/11/security-releases/
2022-06-12 05:01:07 +00:00
Robert Schütz
aedd39d869 archivebox: update Django to 3.1.14 2022-06-12 05:01:06 +00:00
Jonasmadsen
0c66a2f30d
archivebox: refactor and fix
Archivebox didn't build before but does now.
2022-02-15 07:18:02 +00:00
Robert Schütz
c0b9a9ee44 python3Packages.django_extensions: rename to django-extensions 2022-01-09 15:25:05 +00:00
Ben Siraphob
92d9a2a0dd archivebox: fix runtime 2021-08-11 16:49:27 +07:00
Ben Siraphob
e5fd43a155 archivebox: init at 0.6.2 2021-08-11 14:56:21 +07:00