build: linux-module: Do not inherit the build-doc phase.

This is a followup commit to 82c43b276d (gnu:
linux-libre: Enable building info doc).

* guix/build-system/linux-module.scm
(make-linux-module-builder) [phases]: Delete inherited 'build-doc phase.

Reported-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
Maxim Cournoyer 2022-11-29 15:28:24 -05:00
parent 3e14e316a5
commit aaf1f18b80
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -66,7 +66,8 @@ (define (make-linux-module-builder linux)
(replace 'build
(lambda _
(invoke "make" "modules_prepare")))
(delete 'strip) ; faster
(delete 'strip) ;faster
(delete 'build-doc) ;costly and not useful here
(replace 'install
(lambda* (#:key inputs #:allow-other-keys)
(let ((out-lib-build (string-append #$output "/lib/modules/build")))