diff options
author | Tommy Langhelle <tomlanghe@gmail.com> | 2025-04-04 13:53:19 +0200 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2025-04-05 08:45:23 +0800 |
commit | f3a8c28f3f7b5daf95e11826b7cada713c8bfef3 (patch) | |
tree | 1e87f38c4b51598d5aafa31e8c1fd75e3f0364da | |
parent | 883fd4bba0a32a2f6b82d992830066671e9c5a93 (diff) | |
download | guix-f3a8c28f3f7b5daf95e11826b7cada713c8bfef3.tar.gz guix-f3a8c28f3f7b5daf95e11826b7cada713c8bfef3.zip |
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 <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
-rw-r--r-- | gnu/packages/zig.scm | 8 |
1 files changed, 7 insertions, 1 deletions
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) |