FAQ:
It seems connecting to test api. How to let nagram use production api?
Set environment variable MAKEPKG_NAGRAM_DESKTOP_API_ID and MAKEPKG_NAGRAM_DESKTOP_API_HASH with the api credential. You can obtain one by following steps here.
The build process is killed, what's wrong with it?
Your hardware is too poor, just reduce build parallel jobs using environment variable CMAKE_BUILD_PARALLEL_LEVEL, you may also need to reduce lto parallel jobs to n by setting -flto=n in the PKGBUILD, or even disable it completely by setting options=(!lto). Or you can try binary version somewhere else.
Pinned Comments
ZhangHua commented on 2026-10-04 12:05 (UTC) (edited on 2026-10-04 12:09 (UTC) by ZhangHua)
FAQ:
It seems connecting to test api. How to let nagram use production api?
Set environment variable
MAKEPKG_NAGRAM_DESKTOP_API_IDandMAKEPKG_NAGRAM_DESKTOP_API_HASHwith the api credential. You can obtain one by following steps here.The build process is killed, what's wrong with it?
Your hardware is too poor, just reduce build parallel jobs using environment variable
CMAKE_BUILD_PARALLEL_LEVEL, you may also need to reduce lto parallel jobs to n by setting-flto=nin the PKGBUILD, or even disable it completely by settingoptions=(!lto). Or you can try binary version somewhere else.