summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorJonathan Curran <jonathan.curran@rstudio.com>2017-11-03 09:23:01 -0600
committerGitHub <noreply@github.com>2017-11-03 09:23:01 -0600
commitc67a6482a3b717e6091b9b8f1d93367d97693d65 (patch)
treea7112f807015ea4e8d7ac90145fad410605ca2c0 /doc
parent74260a4922e678348eac91f4aa5767a3f5a039a4 (diff)
downloadnixpkgs-c67a6482a3b717e6091b9b8f1d93367d97693d65.tar
nixpkgs-c67a6482a3b717e6091b9b8f1d93367d97693d65.tar.gz
nixpkgs-c67a6482a3b717e6091b9b8f1d93367d97693d65.tar.bz2
nixpkgs-c67a6482a3b717e6091b9b8f1d93367d97693d65.tar.lz
nixpkgs-c67a6482a3b717e6091b9b8f1d93367d97693d65.tar.xz
nixpkgs-c67a6482a3b717e6091b9b8f1d93367d97693d65.tar.zst
nixpkgs-c67a6482a3b717e6091b9b8f1d93367d97693d65.zip
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md
index 7bdbbbd903a..0ff7c4ba77e 100644
--- a/doc/languages-frameworks/python.md
+++ b/doc/languages-frameworks/python.md
@@ -165,7 +165,7 @@ run the script in the `python3` shell.
 
 ```py
 #! /usr/bin/env nix-shell
-#! nix-shell -i 'python3.withPackages(ps: [ps.numpy])'
+#! nix-shell -i python3 -p 'python3.withPackages(ps: [ps.numpy])'
 
 import numpy