mangohud: prefer wrapping with XDG_DATA_DIRS
`XDG_DATA_DIRS` is what's used by Vulkan-Loader to search for MangoHud when installed.
This commit is contained in:
parent
1c5ba73b66
commit
1cce751a51
1 changed files with 1 additions and 2 deletions
|
@ -116,8 +116,7 @@ stdenv.mkDerivation rec {
|
|||
# Support overlaying Vulkan applications without requiring mangohud to be installed
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/mangohud" \
|
||||
--prefix VK_LAYER_PATH : "$out/share/vulkan/implicit_layer.d" \
|
||||
--prefix VK_INSTANCE_LAYERS : VK_LAYER_MANGOHUD_overlay
|
||||
--prefix XDG_DATA_DIRS : "$out/share"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue