Docs Python: fix example on how to override the package set
Not passing in the newly created interpreter as `self` results in an incorrect `passthru`. Solves #64334.
This commit is contained in:
parent
d614edeb32
commit
f1ff85e61d
|
@ -636,7 +636,7 @@ with import <nixpkgs> {};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
in pkgs.python3.override {inherit packageOverrides;};
|
in pkgs.python3.override {inherit packageOverrides; self = python;};
|
||||||
|
|
||||||
in python.withPackages(ps: [ps.blaze])).env
|
in python.withPackages(ps: [ps.blaze])).env
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue