Skip to content

Commit

Permalink
Docs Python: fix example on how to override the package set
Browse files Browse the repository at this point in the history
Not passing in the newly created interpreter as `self` results in an
incorrect `passthru`. Solves #64334.

(cherry picked from commit f1ff85e)
  • Loading branch information
FRidh committed Jul 5, 2019
1 parent 2ae4550 commit 754763f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/languages-frameworks/python.section.md
Expand Up @@ -635,7 +635,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
```
Expand Down

0 comments on commit 754763f

Please sign in to comment.