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.
This commit is contained in:
Jonathan Curran 2017-11-03 09:23:01 -06:00 committed by GitHub
parent 74260a4922
commit c67a6482a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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