mangohud: add update script

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