@@ -564,8 +564,8 @@ function manifest_deps_get(env::String, where::PkgId, name::String)::Union{Nothi
564564 return PkgId (pkg_uuid, name)
565565 end
566566 # Check for this being a dependency to a glue module
567- glue_dep = project_file_gluedeps_get (project_file, where , name)
568- glue_dep === nothing || return glue_dep
567+ # glue_dep = project_file_gluedeps_get(project_file, where, name)
568+ # glue_dep === nothing || return glue_dep
569569 # look for manifest file and `where` stanza
570570 return explicit_manifest_deps_get (project_file, where , name)
571571 elseif project_file
@@ -583,7 +583,7 @@ function manifest_uuid_path(env::String, pkg::PkgId)::Union{Nothing,String,Missi
583583 # if `pkg` matches the project, return the project itself
584584 return project_file_path (project_file)
585585 end
586- # Only used when the package is loading the glue pkg itself
586+ # Only used when the project is loading the glue pkg itself
587587 # which is currently not supported
588588 # mby_glue = project_file_glue_path(project_file, pkg.name)
589589 # mby_glue === nothing || return mby_glue
@@ -606,7 +606,6 @@ function project_file_name_uuid(project_file::String, name::String)::PkgId
606606end
607607
608608function project_file_gluedeps_get (project_file:: String , where :: PkgId , name:: String )
609- # Check for glue...
610609 d = parsed_toml (project_file)
611610 glue = get (d, " gluepkgs" , nothing ):: Union{Dict{String, Any}, Nothing}
612611 project_id = project_file_name_uuid (project_file, " " )
@@ -618,7 +617,8 @@ function project_file_gluedeps_get(project_file::String, where::PkgId, name::Str
618617 gluedepses = get (d, " gluedeps" , nothing ):: Union{Dict{String, Any}, Nothing}
619618 return PkgId (UUID (gluedepses[name]:: String ), name)
620619 end
621- name == project_id. name && return project_id
620+ # Fall back to normal rules for loading a dep for a a package
621+ return identify_package (project_id, name)
622622 end
623623 end
624624 return nothing
@@ -831,6 +831,8 @@ function explicit_manifest_deps_get(project_file::String, where::PkgId, name::St
831831 end
832832 end
833833 end
834+ # `name` is not a glue pkg, do standard lookup as if this was the parent
835+ return identify_package (PkgId (UUID (uuid), dep_name), name)
834836 end
835837 end
836838 end
0 commit comments