gnu: librewolf: Clean up parallel build code.

* gnu/packages/librewolf.scm (librewolf): Clean up parallel build code.

Change-Id: I98c7669c21c13890a2deb520cd44b74669664b4b
This commit is contained in:
Ian Eure 2025-04-19 17:02:32 -07:00
parent ab24e2ebe5
commit 96a884facf
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -466,11 +466,11 @@
(parallel-build? #t) #:allow-other-keys)
(apply invoke "./mach" "build"
;; mach will use parallel build if possible by default
`(,@(if parallel-build?
`(,(string-append
"-j" (number->string (parallel-job-count))))
'("-j1"))
,@make-flags))))
(string-append
"-j" (if parallel-build?
(number->string (parallel-job-count))
"1"))
make-flags)))
(add-after 'build 'neutralise-store-references
(lambda _
;; Mangle the store references to compilers &