summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorErik Arvstedt <erik.arvstedt@gmail.com>2018-07-25 21:29:25 +0200
committerErik Arvstedt <erik.arvstedt@gmail.com>2018-07-25 21:29:25 +0200
commit42e3727aa2bfbac5a13396fef388324fbb3f080c (patch)
tree3937bbf7e3194c2591cfcd607e1c11d5d90c267f /nixos/doc
parenta8f54972f4047a72c6d4e91ec5a6f62bdbd15da2 (diff)
downloadnixlib-42e3727aa2bfbac5a13396fef388324fbb3f080c.tar
nixlib-42e3727aa2bfbac5a13396fef388324fbb3f080c.tar.gz
nixlib-42e3727aa2bfbac5a13396fef388324fbb3f080c.tar.bz2
nixlib-42e3727aa2bfbac5a13396fef388324fbb3f080c.tar.lz
nixlib-42e3727aa2bfbac5a13396fef388324fbb3f080c.tar.xz
nixlib-42e3727aa2bfbac5a13396fef388324fbb3f080c.tar.zst
nixlib-42e3727aa2bfbac5a13396fef388324fbb3f080c.zip
python docs: improve override example
1. Use the same approach like in the overlay example:
   Override `python` instead of `pythonPackages` so that
   `python.pkgs` refers to the new package set like `pythonPackages`.

   This also fixes a bug in the original example where
   `pkgs.fetchgit` was not in scope.

   Add an extra example to illustrate how to override just a
   package set.

2. Fix mix-up between `super` and `self` in the explanation text.
   Also, simplify the explanation.
Diffstat (limited to 'nixos/doc')
0 files changed, 0 insertions, 0 deletions