diff options
| author | John Kehayias <john.kehayias@protonmail.com> | 2022-11-25 17:06:43 -0500 |
|---|---|---|
| committer | John Kehayias <john.kehayias@protonmail.com> | 2022-11-25 17:06:43 -0500 |
| commit | 2e166ea5d25f2d8dbcf10c87b7d4aa74f3274754 (patch) | |
| tree | 8cf78044498598d0607c72365dc1a6db58625a8b | |
| parent | e026dba1dad924aa09da8a28caa343a8ace3f6c7 (diff) | |
nongnu: corrupt-linux: Add infodocs patch.
Fixes #217. Builds of the linux kernel were failing without a recently added
patch from Guix to add an infodocs target for make. See commit
82c43b276dd5e60c81ad2c040a9d945befc4bc88. We now use this patch for
applicable kernels (version 5.10 or greater) so the 'build-doc' phase
succeeds.
* nongnu/package/linux.scm (corrupt-linux)[source]: Add patches with
"linux-libre-infodocs-target.patch" depending on version with the procedure
doc-supported? from (gnu packages linux).
| -rw-r--r-- | nongnu/packages/linux.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index 8c4e2fe..380dc1c 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm | |||
| @@ -63,7 +63,14 @@ | |||
| 63 | (source (origin | 63 | (source (origin |
| 64 | (method url-fetch) | 64 | (method url-fetch) |
| 65 | (uri (linux-urls version)) | 65 | (uri (linux-urls version)) |
| 66 | (sha256 (base32 hash)))) | 66 | (sha256 (base32 hash)) |
| 67 | ;; By default the linux-libre package will "make infodocs" for | ||
| 68 | ;; supported kernels (version > 5.10) which needs the following | ||
| 69 | ;; patch. Include the patch if it applies rather than disabling | ||
| 70 | ;; the associated "build-doc" phase. | ||
| 71 | (patches (if ((@@ (gnu packages linux) doc-supported?) version) | ||
| 72 | (search-patches "linux-libre-infodocs-target.patch") | ||
| 73 | '())))) | ||
| 67 | (home-page "https://www.kernel.org/") | 74 | (home-page "https://www.kernel.org/") |
| 68 | (synopsis "Linux kernel with nonfree binary blobs included") | 75 | (synopsis "Linux kernel with nonfree binary blobs included") |
| 69 | (description | 76 | (description |
