mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
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.
(cherry picked from commit 075338beb2)
Reason: fixes nixos/jibri bug since upgrade to chromium 96 on Nov 15:
https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.jibri.x86_64-linux
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user