mesa: patch vulkan manifests when any driver is enabled

This commit is contained in:
David McFarland 2017-04-08 19:57:02 -03:00 committed by Tuomas Tynkkynen
parent 35eb784bf2
commit f2655dd0c7
1 changed files with 1 additions and 1 deletions

View File

@ -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