forked from numtide/devshell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevshell.toml
More file actions
64 lines (53 loc) · 1.2 KB
/
devshell.toml
File metadata and controls
64 lines (53 loc) · 1.2 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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",
]
# Expose all the dependencies from a package to the environment.
packagesFrom = [
"direnv"
]
# Declare commands that are available in the environment.
[commands.hello]
help = "prints hello"
command = "echo hello"
[commands.nixpkgs-fmt]
category = "formatters"
[commands.go]
[commands.hub]
help = "github utility"
category = "utilities"
[commands.golangci-lint]
help = "golang linter"
category = "linters"
[env]
testStr = "foo"
testInt = 123
testBool = true
[env.ZZZTEST_ENV]
value = "${GO111MODULE:?}"
eval = true
[env.AAATEST_ENV]
value = "${GO111MODULE:?}"
eval = true
[env.AAATEST_PRJDATA]
value = "${PRJ_DATA_DIR:-${PRJ_ROOT}}"
eval = true