linuxHeaders: cleanup android

compared output and the build log and python2 is not required

both build

'pkgsCross.aarch64-android.linuxHeaders'
'pkgsCross.aarch64-android.bionic.linuxHeaders'

linux-headers> LEX scripts/kconfig/lexer.lex.c
linux-headers> sh: line 1: flex: command not found

linux-headers> YACC scripts/kconfig/parser.tab.[ch]
linux-headers> sh: line 1: bison: command not found

linux-headers> INSTALL ./usr/include
linux-headers> sh: line 1: rsync: command not found

Co-authored-by: exarkun <exarkun@twistedmatrix.com>

authored by Artturin exarkun and committed by Alyssa Ross ae87533b 844a738b

+2 -5
+2 -5
pkgs/os-specific/linux/kernel-headers/default.nix
··· 1 1 { stdenvNoCC, lib, buildPackages, fetchurl, perl, elf-header 2 - , bison ? null, flex ? null, python ? null, rsync ? null 2 + , bison, flex, rsync 3 3 , writeTextFile 4 4 }: 5 - 6 - assert stdenvNoCC.hostPlatform.isAndroid -> 7 - (flex != null && bison != null && python != null && rsync != null); 8 5 9 6 let 10 7 ··· 50 47 nativeBuildInputs = [ 51 48 perl elf-header 52 49 ] ++ lib.optionals stdenvNoCC.hostPlatform.isAndroid [ 53 - flex bison python rsync 50 + bison flex rsync 54 51 ] ++ lib.optionals (stdenvNoCC.buildPlatform.isDarwin && 55 52 stdenvNoCC.hostPlatform.isMips) [ 56 53 darwin-endian-h