Skip to content

Commit 9b5d322

Browse files
fix
1 parent 01f7643 commit 9b5d322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Prefix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ function setup_dependencies(prefix::Prefix,
669669
# We occasionally generate "illegal" package specs, where we provide both version and tree hash.
670670
# we trust the treehash over the version, so drop the version for any that exists here:
671671
function filter_redundant_version(p::PkgSpec)
672-
if p.version !== VersionSpec("*") && p.tree_hash !== nothing
672+
if p.version !== PKG_VERSIONS.VersionSpec("*") && p.tree_hash !== nothing
673673
return Pkg.Types.PackageSpec(;name=p.name, tree_hash=p.tree_hash, repo=p.repo)
674674
end
675675
return p

0 commit comments

Comments
 (0)