mangohud: support 32bit mango app vulkan layer

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