Merge pull request #315925 from Sigmanificient/linux-doc-remove-patch

linux-doc: Remove docutils patch
This commit is contained in:
Weijia Wang 2024-05-31 16:22:16 +02:00 committed by GitHub
commit 29b422bde4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -7,7 +7,6 @@
, perl
, python3
, which
, fetchpatch
}:
stdenv.mkDerivation {
@ -15,16 +14,6 @@ stdenv.mkDerivation {
inherit (linux_latest) version src;
patches = [
# docutils 0.21 has removed nodes.reprunicode
# fixes the `AttributeError` thrown when building docs.
(fetchpatch {
name = "docutils_fix.patch";
url = "https://lore.kernel.org/linux-doc/faf5fa45-2a9d-4573-9d2e-3930bdc1ed65@gmail.com/raw";
hash = "sha256-JuV1B/8iDysbH0tl+wr/rdXvoC34uUq25ejMFmD0hio=";
})
];
postPatch = ''
patchShebangs \
Documentation/sphinx/parse-headers.pl \