I’m not familiar with non-NixOS unfortunately, I heard there are some specialties regarding graphics drivers.
I’m surprised it looks for LLVM 7, the mesa in nixpkgs master uses LLVM 9 (which is still outdated, the latest one is 11).
A similar problem turned up for amdvlk in NixOS, it loads some libraries at runtime, so they needed to be added to the rpath and dontPatchELF = true needed to be set, otherwise nix stripped them again. This kept vulkaninfo and vkcube from working, although other applications worked fine when they linked to the needed libraries anyway.
ldd /run/opengl-driver/lib/libvulkan_radeon.so shows libz.so.1 for me and env VK_ICD_FILENAMES=/run/opengl-driver/share/vulkan/icd.d/radeon_icd.x86_64.json vulkaninfo works fine.
libvulkan.so from vulkan-loader doesn’t link to libz.so though.