cleanup readme
This commit is contained in:
parent
3f35767016
commit
00ea8d7a02
1 changed files with 51 additions and 10 deletions
61
README.md
61
README.md
|
@ -2,20 +2,61 @@
|
||||||
|
|
||||||
This repo contains a bunch of handy dev shells that can used on any system that has the nix package manager installed.
|
This repo contains a bunch of handy dev shells that can used on any system that has the nix package manager installed.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
- [Nix](https://github.com/nixos/nix)
|
||||||
|
- [Direnv](https://direnv.net) (Optional)
|
||||||
|
- [nix-direnv](https://github.com/nix-community/nix-direnv) (optional)
|
||||||
|
|
||||||
## Available shells
|
## Available shells
|
||||||
|
|
||||||
### Go
|
### Go
|
||||||
- makes `go` and `gopls` available
|
|
||||||
- can be activated with `nix develop github:adtya/devshell#go`
|
#### What's included?
|
||||||
- can also be activated with direnv by adding `use flake github:adtya/devshell#go` to `.envrc`
|
- `go`
|
||||||
|
- [`gopls`](https://github.com/golang/tools/tree/master/gopls)
|
||||||
|
|
||||||
|
#### Activate with Nix
|
||||||
|
```sh
|
||||||
|
$ nix develop github:adtya/devshell#go
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Activate with Direnv
|
||||||
|
```sh
|
||||||
|
use flake github:adtya/devshell#go
|
||||||
|
```
|
||||||
|
|
||||||
### Python
|
### Python
|
||||||
- makes `python3`, `pipenv`, `pyright` and `black` available in path
|
|
||||||
- can be activated with `nix develop github:adtya/devshell#python`
|
#### What's included?
|
||||||
- can also be activated with direnv by adding `use flake github:adtya/devshell#python` to `.envrc`
|
- `python3`
|
||||||
- additionally, adding `layout pipenv` to `.envrc` will also activate the pipenv shell based on Pipfile and Pipfile.lock
|
- [`pipenv`](https://github.com/pypa/pipenv)
|
||||||
|
- [`pyright`](https://github.com/microsoft/pyright)
|
||||||
|
- [`black`](https://github.com/microsoft/pyright)
|
||||||
|
|
||||||
|
#### Activate with Nix
|
||||||
|
```sh
|
||||||
|
$ nix develop github:adtya/devshell#python
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Activate with Direnv
|
||||||
|
```sh
|
||||||
|
use flake github:adtya/devshell#python
|
||||||
|
layout pipenv # adding this will also activate pipenv shell
|
||||||
|
```
|
||||||
|
|
||||||
### Haskell
|
### Haskell
|
||||||
- makes `ghc`, `haskell-language-server`, `cabal` and `stack` available in path
|
|
||||||
- can be activated with `nix develop github:adtya/devshell#haskell`
|
#### What's included?
|
||||||
- can also be activated with direnv by adding `use flake github:adtya/devshell#haskell` to `.envrc`
|
- [`ghc`](https://www.haskell.org/ghc/)
|
||||||
|
- [`haskell-language-server`](https://github.com/haskell/haskell-language-server)
|
||||||
|
- [`cabal`](https://www.haskell.org/cabal/)
|
||||||
|
- [`stack`](https://docs.haskellstack.org/en/stable/)
|
||||||
|
|
||||||
|
#### Activate with Nix
|
||||||
|
```sh
|
||||||
|
$ nix develop github:adtya/devshell#haskell
|
||||||
|
```
|
||||||
|
#### Activate with Direnv
|
||||||
|
```sh
|
||||||
|
use flake github:adtya/devshell#haskell
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue