From 9b1fe3bd70a57cdbf99339eb06b3a9b57f060f97 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 10 Feb 2025 10:16:39 +0100 Subject: [PATCH] gnu: librewolf: Honor --cores build argument. * gnu/packages/librewolf.scm (librewolf)[arguments]<#:phases>: Honor --cores build argument during the 'build phase. Signed-off-by: Ian Eure --- gnu/packages/librewolf.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm index e5e91fb91e88d09aaaecccc72eafaf29daebea59..bbbfa901ba8ebc509a3adba6014326888ba26258 100644 --- a/gnu/packages/librewolf.scm +++ b/gnu/packages/librewolf.scm @@ -471,8 +471,10 @@ (apply invoke "./mach" "build" ;; mach will use parallel build if possible by default `(,@(if parallel-build? - '() - '("-j1")) ,@make-flags)))) + `(,(string-append + "-j" (number->string (parallel-job-count)))) + '("-j1")) + ,@make-flags)))) (add-after 'build 'neutralise-store-references (lambda _ ;; Mangle the store references to compilers &