forked from mirrors/nixpkgs
doc: fix python module override example
This commit is contained in:
parent
bb739d5bb6
commit
3befade691
|
@ -1670,9 +1670,9 @@ If you need to change a package's attribute(s) from `configuration.nix` you coul
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
nixpkgs.config.packageOverrides = super: {
|
nixpkgs.config.packageOverrides = super: {
|
||||||
python = super.python.override {
|
python3 = super.python3.override {
|
||||||
packageOverrides = python-self: python-super: {
|
packageOverrides = python-self: python-super: {
|
||||||
twisted = python-super.twisted.overrideAttrs (oldAttrs: {
|
twisted = python-super.twisted.overridePythonAttrs (oldAttrs: {
|
||||||
src = super.fetchPypi {
|
src = super.fetchPypi {
|
||||||
pname = "twisted";
|
pname = "twisted";
|
||||||
version = "19.10.0";
|
version = "19.10.0";
|
||||||
|
|
Loading…
Reference in a new issue