Merge pull request #31197 from joncfoo/patch-1
Fix nix-shell command example in python docs
commit3a2cf94dd0db91e5a2abf108cce8f5cf9a8d7602
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>
dateFri 3 Nov 2017, 18:38 (9 years ago)
parent1729e9ec67a648
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