Skip to content

Commit 73ad191

Browse files
committed
chore: remove flox environment support
Flox added setup complexity without being the default or widely used. Use make tools-setup instead.
1 parent 7d9678b commit 73ad191

File tree

10 files changed

+1
-2173
lines changed

10 files changed

+1
-2173
lines changed

.envrc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
1-
# Activate Flox environment if flox is installed
2-
if command -v flox &> /dev/null; then
3-
use_flox() {
4-
if [[ ! -d ".flox" ]]; then
5-
printf "direnv(use_flox): \`.flox\` directory not found\n" >&2
6-
printf "direnv(use_flox): Did you run \`flox init\` in this directory?\n" >&2
7-
return 1
8-
fi
9-
10-
direnv_load flox activate "$@" -- "$direnv" dump
11-
12-
if [[ $# == 0 ]]; then
13-
watch_dir ".flox/env/"
14-
watch_file ".flox/env.json"
15-
watch_file ".flox/env.lock"
16-
fi
17-
}
18-
19-
use_flox
20-
fi
21-
221
# Source local overrides if present
232
if [[ -f .envrc.local ]]; then
243
source .envrc.local

.flox/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

.flox/.gitignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.flox/env.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)