mangohud: add update script

+3
+3
pkgs/tools/graphics/mangohud/default.nix
··· 30 , nlohmann_json 31 , xorg 32 , gamescopeSupport ? true # build mangoapp and mangohudctl 33 }: 34 35 let ··· 185 wrapProgram "$out/bin/mangohud" \ 186 --prefix XDG_DATA_DIRS : "$out/share" 187 ''; 188 189 meta = with lib; { 190 description = "A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more";
··· 30 , nlohmann_json 31 , xorg 32 , gamescopeSupport ? true # build mangoapp and mangohudctl 33 + , nix-update-script 34 }: 35 36 let ··· 186 wrapProgram "$out/bin/mangohud" \ 187 --prefix XDG_DATA_DIRS : "$out/share" 188 ''; 189 + 190 + passthru.updateScript = nix-update-script { }; 191 192 meta = with lib; { 193 description = "A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more";