From c67a6482a3b717e6091b9b8f1d93367d97693d65 Mon Sep 17 00:00:00 2001 From: Jonathan Curran Date: Fri, 3 Nov 2017 09:23:01 -0600 Subject: [PATCH] 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. --- doc/languages-frameworks/python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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