chromium: Install libvulkan.so.1

This might be required for experimental Vulkan support, see:
https://github.com/NixOS/nixpkgs/issues/150398

Note: Google Chrome distributes it as well.
This commit is contained in:
Michael Weiss 2021-12-14 19:16:39 +01:00
parent 7acf783486
commit 075338beb2
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -17,6 +17,7 @@ mkChromiumDerivation (base: rec {
installPhase = ''
mkdir -p "$libExecPath"
cp -v "$buildPath/"*.so "$buildPath/"*.pak "$buildPath/"*.bin "$libExecPath/"
cp -v "$buildPath/libvulkan.so.1" "$libExecPath/"
cp -v "$buildPath/vk_swiftshader_icd.json" "$libExecPath/"
cp -v "$buildPath/icudtl.dat" "$libExecPath/"
cp -vLR "$buildPath/locales" "$buildPath/resources" "$libExecPath/"