Mosek install broken on osx

**(@v1.8) pkg>** add MosekTools, Mosek, Convex, Images, DelimitedFiles, Gadfly

**Updating** registry at `~/.julia/registries/General.toml`

**Resolving** package versions...

**Installed** MosekTools ─ v0.13.2

**Installed** Mosek ────── v10.0.2

**Updating** `~/.julia/environments/v1.8/Project.toml`

[6405355b] + Mosek v10.0.2

**No Changes** to `~/.julia/environments/v1.8/Manifest.toml`

**Building** Mosek → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/4d639c16d45bd7962613ff984046c120915d82b2/build.log`

**ERROR:** Error building `Mosek`:

ERROR: LoadError: MethodError: no method matching hasregistrykey(::WinReg.RegKey, ::String, ::String)

Closest candidates are:

hasregistrykey(!Matched::UInt32, ::String, ::String) at ~/.julia/packages/Mosek/5QnPP/deps/build.jl:36


[1] top-level scope

@ ~/.julia/packages/Mosek/5QnPP/deps/build.jl:189

[2] include(fname::String)

@ Base.MainInclude ./client.jl:476

[3] top-level scope

@ none:5

in expression starting at /Users/richard/.julia/packages/Mosek/5QnPP/deps/build.jl:151

I keep getting this error on OSX 12.2.1. I verified mosek works (can run it in command line) but the mosek julia plugin just won’t install. Is it not supported for new osx?

See Can't build on Windows "no method matching hasregistrykey" · Issue #223 · MOSEK/Mosek.jl · GitHub

The work-around is

] add WinReg@0.3 MosekTools

I’ve opened a PR to patch this in the general registry