diff --git a/recipe/build.sh b/recipe/build.sh index e83f8379..ec957dce 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -51,4 +51,4 @@ make -j 4 prefix=${PREFIX} MARCH=core2 sysconfigdir=${PREFIX}/etc NO_GIT=1 \ install # Configure juliarc to use conda environment -cat "${RECIPE_DIR}/juliarc.jl" >> "${PREFIX}/etc/julia/juliarc.jl" +cat "${RECIPE_DIR}/startup.jl" >> "${PREFIX}/etc/julia/startup.jl" diff --git a/recipe/juliarc.jl b/recipe/startup.jl similarity index 59% rename from recipe/juliarc.jl rename to recipe/startup.jl index 544d7d45..6ccd1fbc 100644 --- a/recipe/juliarc.jl +++ b/recipe/startup.jl @@ -2,5 +2,5 @@ JULIA_PREFIX = abspath(joinpath(Base.source_path(), "..", "..", "..")) if !("JULIA_PKGDIR" in keys(ENV)) ENV["JULIA_PKGDIR"] = joinpath(JULIA_PREFIX, "share", "julia", "site") - Base.LOAD_CACHE_PATH[1] = joinpath(ENV["JULIA_PKGDIR"], "lib", string("v", join(split(string(VERSION), ".")[1:2], "."))) + Base.DEPOT_PATH[1] = joinpath(ENV["JULIA_PKGDIR"], "lib", string("v", join(split(string(VERSION), ".")[1:2], "."))) end