mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: wireless-regdb: Build sequentially.
Fixes <http://bugs.gnu.org/22126>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/packages/linux.scm (wireless-regdb)[source]: Add 'snippet'. [arguments]: Add #:parallel-build?.
This commit is contained in:
parent
70650c684a
commit
5568151f5b
1 changed files with 11 additions and 1 deletions
|
@ -1759,11 +1759,21 @@ (define-public wireless-regdb
|
|||
"wireless-regdb-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0czi83k311fp27z42hxjm8vi88fsbc23mhavv96lkb4pmari0jjc"))))
|
||||
"0czi83k311fp27z42hxjm8vi88fsbc23mhavv96lkb4pmari0jjc"))
|
||||
|
||||
;; We're building 'regulatory.bin' by ourselves.
|
||||
(snippet '(delete-file "regulatory.bin"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
(delete 'configure))
|
||||
|
||||
;; The 'all' target of the makefile depends on $(REGDB_CHANGED), which
|
||||
;; is computed and can be equal to 'maintainer-clean'; when that
|
||||
;; happens, we can end up deleting the 'regulatory.bin' file that we
|
||||
;; just built. Thus, build things sequentially.
|
||||
#:parallel-build? #f
|
||||
|
||||
#:tests? #f ;no tests
|
||||
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
||||
(list (string-append "PREFIX=" out)
|
||||
|
|
Loading…
Reference in a new issue