mangohud: support 32bit mango app vulkan layer

+6 -1
+6 -1
pkgs/tools/graphics/mangohud/default.nix
··· 161 xorg.libXrandr 162 ]; 163 164 - # Support 32bit Vulkan applications by linking in 32bit Vulkan layer 165 # This is needed for the same reason the 32bit OpenGL workaround is needed. 166 postInstall = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") '' 167 ln -s ${mangohud32}/share/vulkan/implicit_layer.d/MangoHud.json \ 168 "$out/share/vulkan/implicit_layer.d/MangoHud.x86.json" 169 ''; 170 171 postFixup = ''
··· 161 xorg.libXrandr 162 ]; 163 164 + # Support 32bit Vulkan applications by linking in 32bit Vulkan layers 165 # This is needed for the same reason the 32bit OpenGL workaround is needed. 166 postInstall = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") '' 167 ln -s ${mangohud32}/share/vulkan/implicit_layer.d/MangoHud.json \ 168 "$out/share/vulkan/implicit_layer.d/MangoHud.x86.json" 169 + 170 + ${lib.optionalString gamescopeSupport '' 171 + ln -s ${mangohud32}/share/vulkan/implicit_layer.d/libMangoApp.json \ 172 + "$out/share/vulkan/implicit_layer.d/libMangoApp.x86.json" 173 + ''} 174 ''; 175 176 postFixup = ''