Merge pull request #31197 from joncfoo/patch-1
Fix nix-shell command example in python docs
This commit is contained in:
commit
3a2cf94dd0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user