linux-manual: Handle scripts/kernel-doc.py (#429461)

This commit is contained in:
Aleksana
2025-08-01 11:53:08 +08:00
committed by GitHub
+9 -2
View File
@@ -3,6 +3,7 @@
stdenv,
linuxPackages_latest,
perl,
python3,
man,
}:
@@ -10,7 +11,10 @@ stdenv.mkDerivation {
pname = "linux-manual";
inherit (linuxPackages_latest.kernel) version src;
nativeBuildInputs = [ perl ];
nativeBuildInputs = [
perl
python3
];
nativeInstallCheckInputs = [ man ];
dontConfigure = true;
@@ -18,8 +22,11 @@ stdenv.mkDerivation {
doInstallCheck = true;
postPatch = ''
# Use scripts/kernel-doc.py here, not scripts/kernel-doc because
# patchShebangs skips symlinks
patchShebangs --build \
scripts/kernel-doc \
scripts/kernel-doc.py \
scripts/split-man.pl
'';