mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
mesa: patch vulkan manifests when any driver is enabled
This commit is contained in:
parent
35eb784bf2
commit
f2655dd0c7
|
@ -187,7 +187,7 @@ stdenv.mkDerivation {
|
|||
|
||||
# set the default search path for DRI drivers; used e.g. by X server
|
||||
substituteInPlace "$dev/lib/pkgconfig/dri.pc" --replace '$(drivers)' "${driverLink}"
|
||||
'' + optionalString (builtins.elem "intel" vulkanDrivers) ''
|
||||
'' + optionalString (vulkanDrivers != []) ''
|
||||
# move share/vulkan/icd.d/
|
||||
mv $out/share/ $drivers/
|
||||
# Update search path used by Vulkan (it's pointing to $out but
|
||||
|
|
Loading…
Reference in a new issue