Skip to content

Commit

Permalink
mesa: patch vulkan manifests when any driver is enabled
Browse files Browse the repository at this point in the history
(cherry picked from commit f2655dd)
/cc #24757.
  • Loading branch information
corngood authored and vcunat committed Apr 9, 2017
1 parent 250c890 commit 12a3947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/mesa/default.nix
Expand Up @@ -185,7 +185,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
Expand Down

0 comments on commit 12a3947

Please sign in to comment.