hako pushed a commit to branch master
in repository guix.

commit f3a8c28f3f7b5daf95e11826b7cada713c8bfef3
Author: Tommy Langhelle <[email protected]>
AuthorDate: Fri Apr 4 13:53:19 2025 +0200

    gnu: zig-0.14: Set max_rss to unlimited.
    
    Upstream sets this for CI purposes, but it fails my ARM builds. The
    limit itself doesn't make too much sense as long as zig builds and the
    build host is big enough, so simply allowing unlimited rss should be
    fine.
    
    * gnu/packages/zig.scm (zig-0.14)[source]: Set max_rss to unlimited.
    
    Change-Id: I2dcd6f9f41f41eadad94aaf8eab4ead81ecb3c30
    Signed-off-by: Hilton Chain <[email protected]>
    Modified-by: Hilton Chain <[email protected]>
---
 gnu/packages/zig.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index 733251242e..23acfd19b1 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -1871,7 +1871,13 @@ toolchain.  Among other features it provides
         (search-patches
          "zig-0.14-use-baseline-cpu-by-default.patch"
          "zig-0.14-use-system-paths.patch"
-         "zig-0.14-fix-runpath.patch"))))
+         "zig-0.14-fix-runpath.patch"))
+       (snippet
+        #~(begin
+            #$(origin-snippet (package-source zig-0.13))
+            ;; TODO: Add this to zig-source.
+            (substitute* "build.zig"
+              (("\\.*.max_rss.*") ""))))))
     (inputs
      (modify-inputs (package-inputs zig-0.13)
        (replace "clang" clang-19)

Reply via email to