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
  • Loading branch information
corngood authored and dezgeg committed Apr 9, 2017
1 parent 35eb784 commit f2655dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/libraries/mesa/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit f2655dd

Please sign in to comment.