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