Skip to content

Commit 32ffaf2

Browse files
committed
build: Explore running build & test scripts under an isolated PATH from Flox
1 parent cb47c87 commit 32ffaf2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test-under-isolated-flox-PATH

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
# Find flox (while PATH is still available)
4+
FLOX=$(which flox)
5+
6+
# Clear PATH!
7+
PATH=
8+
9+
# NOT source tools/flox
10+
$FLOX activate -m run
11+
12+
./test.bash

0 commit comments

Comments
 (0)