We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af57a9 commit 0998ff6Copy full SHA for 0998ff6
1 file changed
bin/run_julia
@@ -6,6 +6,16 @@ fi
6
7
export JULIA_PKG_SERVER_REGISTRY_PREFERENCE=eager
8
9
+# If any local project preferences file disables CondaPkg, forward that as an
10
+# env var so that Julia reads it at runtime even when activating a subproject
11
+# interactively (where @load_preference may have a stale baked-in value).
12
+for _lp in LocalPreferences.toml examples_cp/LocalPreferences.toml test/LocalPreferences.toml; do
13
+ if grep -q 'backend = "Null"' "$_lp" 2>/dev/null; then
14
+ export JULIA_CONDAPKG_BACKEND=Null
15
+ break
16
+ fi
17
+done
18
+
19
if [[ $# -gt 0 ]]; then
20
JULIA_ARGS=("$@")
21
else
0 commit comments