nixpkgs/pkgs/development/tools/continuous-integration
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
..
agola treewide: remove trailing space in description 2024-07-26 03:38:50 +02:00
buildbot treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
buildkite-cli treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
buildkite-test-collector-rust treewide: change cargoSha256 with SRI hash to cargoHash 2024-07-03 21:53:11 +08:00
cirrus-cli cirrus-cli: 0.120.2 -> 0.120.3 2024-07-14 07:47:12 +00:00
codeberg-pages codeberg-pages: add myself as maintainer 2024-07-07 21:06:29 +02:00
drone drone: remove elohmeier as maintainer 2024-06-14 09:22:19 +02:00
drone-cli
drone-runner-docker treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
drone-runner-exec
drone-runner-ssh
fly
gitea-actions-runner treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
github-runner github-runner: 2.316.1 -> 2.317.0 (#316806) 2024-06-03 12:05:14 +02:00
gocd-agent treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
gocd-server treewide: Remove indefinite article from meta.description 2024-06-09 23:07:45 +02:00
hci treewide: no justStaticExecutables on aarch64-darwin for bogus refs 2024-06-08 10:33:23 +02:00
hercules-ci-agent hercules-ci-agent: fix justStaticExecutables on aarch64-darwin 2024-06-11 13:33:34 +10:00
jenkins jenkins: 2.452.2 -> 2.452.3 2024-07-14 20:11:25 +00:00
laminar
woodpecker woodpecker: fix typo in shebang and missing text in warning 2024-08-01 22:40:40 +02:00
woodpecker-plugin-git woodpecker-plugin-git: 2.5.1 -> 2.5.2 2024-07-26 16:38:28 +00:00