mangohud: switch back to using system spdlog

The issue that required us to use the static subproject version has
been fixed:

https://github.com/ValveSoftware/steam-runtime/issues/511

+3 -23
+3 -23
pkgs/tools/graphics/mangohud/default.nix
··· 22 , pkg-config 23 , unzip 24 , libXNVCtrl 25 , wayland 26 , glew 27 , glfw ··· 47 }; 48 }; 49 50 - # Derived from subprojects/spdlog.wrap 51 - # 52 - # NOTE: We only statically link spdlog due to a bug in pressure-vessel: 53 - # https://github.com/ValveSoftware/steam-runtime/issues/511 54 - # 55 - # Once this fix is released upstream, we should switch back to using 56 - # the system provided spdlog 57 - spdlog = rec { 58 - version = "1.8.5"; 59 - src = fetchFromGitHub { 60 - owner = "gabime"; 61 - repo = "spdlog"; 62 - rev = "refs/tags/v${version}"; 63 - sha256 = "sha256-D29jvDZQhPscaOHlrzGN1s7/mXlcsovjbqYpXd7OM50="; 64 - }; 65 - patch = fetchurl { 66 - url = "https://wrapdb.mesonbuild.com/v2/spdlog_${version}-1/get_patch"; 67 - sha256 = "sha256-PDjyddV5KxKGORECWUMp6YsXc3kks0T5gxKrCZKbdL4="; 68 - }; 69 - }; 70 - 71 # Derived from subprojects/vulkan-headers.wrap 72 vulkan-headers = rec { 73 version = "1.2.158"; ··· 101 postUnpack = ''( 102 cd "$sourceRoot/subprojects" 103 cp -R --no-preserve=mode,ownership ${imgui.src} imgui-${imgui.version} 104 - cp -R --no-preserve=mode,ownership ${spdlog.src} spdlog-${spdlog.version} 105 cp -R --no-preserve=mode,ownership ${vulkan-headers.src} Vulkan-Headers-${vulkan-headers.version} 106 )''; 107 ··· 142 postPatch = ''( 143 cd subprojects 144 unzip ${imgui.patch} 145 - unzip ${spdlog.patch} 146 unzip ${vulkan-headers.patch} 147 )''; 148 149 mesonFlags = [ 150 "-Dwith_wayland=enabled" 151 ] ++ lib.optionals gamescopeSupport [ 152 "-Dmangoapp_layer=true" 153 "-Dmangoapp=true" ··· 169 dbus 170 libX11 171 libXNVCtrl 172 wayland 173 ] ++ lib.optionals gamescopeSupport [ 174 glew
··· 22 , pkg-config 23 , unzip 24 , libXNVCtrl 25 + , spdlog 26 , wayland 27 , glew 28 , glfw ··· 48 }; 49 }; 50 51 # Derived from subprojects/vulkan-headers.wrap 52 vulkan-headers = rec { 53 version = "1.2.158"; ··· 81 postUnpack = ''( 82 cd "$sourceRoot/subprojects" 83 cp -R --no-preserve=mode,ownership ${imgui.src} imgui-${imgui.version} 84 cp -R --no-preserve=mode,ownership ${vulkan-headers.src} Vulkan-Headers-${vulkan-headers.version} 85 )''; 86 ··· 121 postPatch = ''( 122 cd subprojects 123 unzip ${imgui.patch} 124 unzip ${vulkan-headers.patch} 125 )''; 126 127 mesonFlags = [ 128 "-Dwith_wayland=enabled" 129 + "-Duse_system_spdlog=enabled" 130 ] ++ lib.optionals gamescopeSupport [ 131 "-Dmangoapp_layer=true" 132 "-Dmangoapp=true" ··· 148 dbus 149 libX11 150 libXNVCtrl 151 + spdlog 152 wayland 153 ] ++ lib.optionals gamescopeSupport [ 154 glew