Unverified Commit 459c008f authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #316170 from NixOS/backport-315925-to-release-24.05

[Backport release-24.05] linux-doc: Remove docutils patch
parents c38ed0cf 15306922
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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 \