mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
doc/python: Fix shebang link (#105196)
This commit is contained in:
parent
85fe68bbc0
commit
698111962e
@ -153,7 +153,7 @@ The dot product of [1 2] and [3 4] is: 11
|
|||||||
But if we maintain the script ourselves, and if there are more dependencies, it
|
But if we maintain the script ourselves, and if there are more dependencies, it
|
||||||
may be nice to encode those dependencies in source to make the script re-usable
|
may be nice to encode those dependencies in source to make the script re-usable
|
||||||
without that bit of knowledge. That can be done by using `nix-shell` as a
|
without that bit of knowledge. That can be done by using `nix-shell` as a
|
||||||
[shebang](https://en.wikipedia.org/wiki/Shebang_(Unix), like so:
|
[shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)), like so:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
|
Loading…
Reference in New Issue
Block a user