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 <ian@retrospec.tv>
This commit is contained in:
Nicolas Graves 2025-02-10 10:16:39 +01:00 committed by Ian Eure
parent a38d71b2e5
commit 9b1fe3bd70
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -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 &