Skip to content

Commit 5f6c5d0

Browse files
authored
Merge pull request #92 from JuliaInterop/fremling-patch-2
Fix bug in build workaround
2 parents f1f10f7 + 0b308c7 commit 5f6c5d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deps/build.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,21 @@ function find_lib_ker()
9393
error("Could not find Mathematica or Wolfram Engine installation.\nPlease set the `JULIA_MATHLINK` and `JULIA_MATHKERNEL` variables.")
9494
end
9595

96+
@info "The JULIA_PKG_SERVER_REGISTRY_PREFERENCE variable"
97+
@info get(ENV, "JULIA_PKG_SERVER_REGISTRY_PREFERENCE", "false")
9698

9799
if get(ENV, "JULIA_REGISTRYCI_AUTOMERGE", "false") == "true"
98100
# We need to be able to install and load this package without error for
99101
# Julia's registry AutoMerge to work. Just write a fake Mathematica path.
100102
mlib = ""
101103
mker = "WolframKernel"
102104
@info "Pretending fake installation exists" mlib mker
103-
elseif get(ENV, "ULIA_PKG_SERVER_REGISTRY_PREFERENCE", "false") != "false"
105+
elseif get(ENV, "JULIA_PKG_SERVER_REGISTRY_PREFERENCE", "false") != "false"
104106
# We need to be able to install and load this package without error for
105107
# Githubs CI checker to work. Just write a fake Mathematica path.
106108
mlib = ""
107109
mker = "WolframKernel"
108-
@info "Pretending fake installation exists" mlib mker
110+
@info "Pretending fake Github CI installation exists" mlib mker
109111
else
110112
mlib,mker = find_lib_ker()
111113
@info "Installation found" mlib mker

0 commit comments

Comments
 (0)