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