forked from oxidecomputer/omicron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.envrc
More file actions
20 lines (18 loc) · 652 Bytes
/
Copy path.envrc
File metadata and controls
20 lines (18 loc) · 652 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# For use with direnv: https://direnv.net
# See also: ./env.sh
PATH_add out/cockroachdb/bin
PATH_add out/clickhouse
PATH_add out/dendrite-stub/bin
PATH_add out/mgd/root/opt/oxide/mgd/bin
PATH_add out/mg-ddm/root/opt/oxide/mg-ddm/bin
if [ "$OMICRON_USE_FLAKE" = 1 ] && nix flake show &> /dev/null
then
# watch version files which should cause the nix-direnv cache to be
# invalidated, as they are inputs to the Nix flake.
watch_file tools/maghemite_mg_openapi_version
watch_file tools/dendrite_version
watch_file tools/clickhouse_version
watch_file tools/cocroachdb_version
watch_file rust-toolchain.toml
use flake;
fi