mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-05 20:43:28 +00:00
e0816431a2
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. |
||
---|---|---|
.. | ||
agola | ||
buildbot | ||
buildkite-cli | ||
buildkite-test-collector-rust | ||
cirrus-cli | ||
codeberg-pages | ||
drone | ||
drone-cli | ||
drone-runner-docker | ||
drone-runner-exec | ||
drone-runner-ssh | ||
fly | ||
gitea-actions-runner | ||
github-runner | ||
gocd-agent | ||
gocd-server | ||
hci | ||
hercules-ci-agent | ||
jenkins | ||
laminar | ||
woodpecker | ||
woodpecker-plugin-git |