Skip to content

Commit

Permalink
fix using module root
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored Jul 23, 2024
1 parent b1478f9 commit 8d171f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@ function jointail(dir, tail)
end

function _artifact_str(__module__, artifacts_toml, name, path_tail, artifact_dict, hash, platform, @nospecialize(lazyartifacts))
pkg = Base.PkgId(__module__)
moduleroot = Base.moduleroot(__module__)
pkg = Base.PkgId(moduleroot)
if pkg.uuid !== nothing
# Process overrides for this UUID, if we know what it is
process_overrides(artifact_dict, pkg.uuid)
Expand Down

0 comments on commit 8d171f4

Please sign in to comment.