Fix nix-shell command example in python docs
The nix-shell command here is incorrect AFAICT. `-i` is supposed to specify the interpreter and `-p` specifies the packages.
commitc67a6482a3b717e6091b9b8f1d93367d97693d65
authorJonathan Curran <jonathan.curran@rstudio.com>
dateFri 3 Nov 2017, 09:23 (9 years ago)
parent74260a4
doc/languages-frameworks/python.md+1−1
@@ -165,7 +165,7 @@ run the script in the `python3` shell.
165165
166166```py
167167#! /usr/bin/env nix-shell
168−#! nix-shell -i 'python3.withPackages(ps: [ps.numpy])'
168+#! nix-shell -i python3 -p 'python3.withPackages(ps: [ps.numpy])'
169169
170170import numpy
171171