linux-manual: Handle scripts/kernel-doc.py

Upstream switched the script to Python in 6.16, so handle that.

+9 -2
+9 -2
pkgs/by-name/li/linux-manual/package.nix
··· 3 3 stdenv, 4 4 linuxPackages_latest, 5 5 perl, 6 + python3, 6 7 man, 7 8 }: 8 9 ··· 10 11 pname = "linux-manual"; 11 12 inherit (linuxPackages_latest.kernel) version src; 12 13 13 - nativeBuildInputs = [ perl ]; 14 + nativeBuildInputs = [ 15 + perl 16 + python3 17 + ]; 14 18 nativeInstallCheckInputs = [ man ]; 15 19 16 20 dontConfigure = true; ··· 18 22 doInstallCheck = true; 19 23 20 24 postPatch = '' 25 + # Use scripts/kernel-doc.py here, not scripts/kernel-doc because 26 + # patchShebangs skips symlinks 27 + 21 28 patchShebangs --build \ 22 - scripts/kernel-doc \ 29 + scripts/kernel-doc.py \ 23 30 scripts/split-man.pl 24 31 ''; 25 32