forked from numtide/devshell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devshell.toml
47 lines (40 loc) · 958 Bytes
/
devshell.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
imports = [
"language.go"
]
[devshell]
# This is the name of your environment. It should usually map to the project
# name.
name = "devshell"
# Message Of The Day (MOTD) is displayed when entering the environment with an
# interactive shell. By default it will show the project name.
#
# motd = ""
# Add packages from nixpkgs here. Use `nix search nixpkgs <term>` to find the
# package that you need.
#
# NOTE: don't forget to put commas between items! :)
packages = [
"diffutils", # used by golangci-lint
"goreleaser",
"mdbook",
"mdsh",
"webfs",
"hyperfine",
]
# Declare commands that are available in the environment.
[[commands]]
help = "prints hello"
name = "hello"
command = "echo hello"
[[commands]]
package = "nixpkgs-fmt"
category = "formatters"
[[commands]]
help = "github utility"
name = "hub"
package = "gitAndTools.hub"
category = "utilites"
[[commands]]
help = "golang linter"
package = "golangci-lint"
category = "linters"