Improve documentation

pull/5/head
Michele Guerini Rocco 2019-09-19 17:51:37 +02:00
parent c631038ee0
commit b18cfa5eef
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
1 changed files with 19 additions and 0 deletions

View File

@ -56,6 +56,25 @@ We can also load the script in `ghci`:
$ nix-scripti ./example.hs
```
or open a nix-shell with the requested packages:
```
$ nix-scripts ./example.hs
```
### Supported languges
| Identifiers | Language |
|:--------------------:|:---------------------|
| `haskell` | Haskell |
| `python2`, `python3` | Python |
| `perl` | Perl 5 |
| `javascript` | JavaScript (node.js) |
| `shell` | Shell script (bash) |
Anything else will be treated as "passthough", meaning the rest of
the line will be intpreted as nixpkgs attributes as-is.
Contributing
------------