~ruther/guix-local

404dbd894c69c94b483c6139d2a39b1c1eaddf36 — Maxim Cournoyer 2 years ago 2b6006f
gnu: telegraph-desktop: Fix exhuberant build memory requirements.

From 25 GiB to 1.3 GiB.

* gnu/packages/telegram.scm (telegram-desktop)
[configure-flags]: Specify the 'Release' build type.

Change-Id: I040d79d341412d43e864c95b315c1c8ad5fd19ae
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/telegram.scm
M gnu/packages/telegram.scm => gnu/packages/telegram.scm +4 -0
@@ 465,6 465,10 @@ Telegram project, for its use in telegram desktop client.")
             (ice-9 match))
           #:configure-flags
           #~(list
              ;; Do not generate the debug symbols to reduce link time memory
              ;; requirements from 25 GiB to 1.3 GiB.  This also nearly halves
              ;; the build time.
              "-DCMAKE_BUILD_TYPE=Release"
              ;; Client applications must provide their own API-ID and API-HASH,
              ;; see also <https://core.telegram.org/api/obtaining_api_id>.
              ;; Here, we snarf the keys from the official Snaps, which are