summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-06-12 10:59:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-06-12 13:50:47 +0300
commit3cbef19a90b2cf82040a9e0c1428cf842044538b (patch)
treee9b78872f60666d01231f53debb440d7c4a3d60d
parent2a34333d0c238fa0983659ea71f0e1af4ff0ac7b (diff)
downloadguix-3cbef19a90b2cf82040a9e0c1428cf842044538b.tar.gz
gnu: zig: Limit to 64bit systems.
* gnu/packages/zig.scm (zig)[supported-systems]: New field.
-rw-r--r--gnu/packages/zig.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index 9e99fdb857..cda93bed2e 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2021 Liliana Marie Prikler <liliana.prikler@gmail.com>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
 ;;; Copyright © 2021 Calum Irwin <calumirwin1@gmail.com>
+;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -99,4 +100,7 @@ toolchain.  Among other features it provides
 @item concurrency via async functions.
 @end itemize")
     (home-page "https://github.com/ziglang/zig")
+    ;; Currently building zig can take up to 10GB of RAM for linking stage1:
+    ;; https://github.com/ziglang/zig/issues/6485
+    (supported-systems %64bit-supported-systems)
     (license license:expat)))