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

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

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

Reported-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
Maxim Cournoyer 2022-11-29 20:08:21 -05:00
parent 1a59231840
commit b4be83b6ac
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

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