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 f195d3f commit f2d810dCopy full SHA for f2d810d
src/Prefix.jl
@@ -718,6 +718,12 @@ function setup_dependencies(prefix::Prefix,
718
if !isempty(stdlib_pkgspecs)
719
# TODO: shouldn't this take platform?
720
Pkg_add(stdlib_pkgspecs; io=outs, julia_version=nothing)
721
+
722
+ # Pkg.add doesn't record julia_version when nothing, so we need to manually set it
723
+ # to avoid warnings about the manifest not having a julia version.
724
+ ctx = Pkg.Types.Context()
725
+ ctx.env.manifest.julia_version = Pkg.Operations.dropbuild(julia_version)
726
+ Pkg.Types.write_manifest(ctx.env)
727
end
728
729
# Load their Artifacts.toml files
0 commit comments