Skip to content

Commit

Permalink
Merge pull request JuliaLang#8271 from ivarne/pkg_error_message
Browse files Browse the repository at this point in the history
Packages incompatible with your Julia version
  • Loading branch information
ivarne committed Sep 15, 2014
2 parents aa5ffc6 + 5e29071 commit 296cde4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion base/pkg/entry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,12 @@ function resolve(

for pkg in keys(reqs)
if !haskey(deps,pkg)
error("$pkg's requirements can't be satisfied because of the following fixed packages: ",
if "julia" in conflicts[pkg]
error("$pkg can't be installed because it has no versions that support ", VERSION, " of julia")
else
error("$pkg's requirements can't be satisfied because of the following fixed packages: ",
join(conflicts[pkg], ", ", " and "))
end
end
end

Expand Down

0 comments on commit 296cde4

Please sign in to comment.