2023-12-08 13:18:53 +05:30
|
|
|
# Dev Shells with Nix
|
|
|
|
|
|
|
|
This repo contains a bunch of handy dev shells that can used on any system that has the nix package manager installed.
|
|
|
|
|
|
|
|
## Available shells
|
|
|
|
|
|
|
|
### Go
|
|
|
|
- makes `go` and `gopls` available
|
2023-12-08 13:32:15 +05:30
|
|
|
- can be activated with `nix develop github:adtya/devshell#go`
|
|
|
|
- can also be activated with direnv by adding `use flake github:adtya/devshell#go` to `.envrc`
|
2023-12-08 13:18:53 +05:30
|
|
|
|
2023-12-08 13:30:37 +05:30
|
|
|
### Python
|
|
|
|
- makes `python3`, `pipenv`, `pyright` and `black` available in path
|
2023-12-08 13:32:15 +05:30
|
|
|
- can be activated with `nix develop github:adtya/devshell#python`
|
|
|
|
- can also be activated with direnv by adding `use flake github:adtya/devshell#python` to `.envrc`
|
2023-12-08 13:30:37 +05:30
|
|
|
- additionally, adding `layout pipenv` to `.envrc` will also activate the pipenv shell based on Pipfile and Pipfile.lock
|
2023-12-08 14:11:16 +05:30
|
|
|
|
|
|
|
### Haskell
|
|
|
|
- makes `ghc`, `haskell-language-server`, `cabal` and `stack` available in path
|
|
|
|
- can be activated with `nix develop github:adtya/devshell#haskell`
|
|
|
|
- can also be activated with direnv by adding `use flake github:adtya/devshell#haskell` to `.envrc`
|