Cannot create symlink in "/usr/share/libdrm": existing file in the way

Getting an error about the /usr/share/libdrm directory already existing in the snap namespace. I’m guessing this is now provided by default from the core22 snap. What’s the route for a snap that builds libdrm from source to prevent being tied to the jammy repo version? An example of this is the nvtop snap: