diff options
author | Artturin <Artturin@artturin.com> | 2023-02-09 19:48:31 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-09 20:10:33 +0000 |
commit | ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5 (patch) | |
tree | 237febb1390fe19d8db6c611c167567f0e16afe1 /pkgs/os-specific/linux/kernel-headers | |
parent | 844a738b1f91ee21bc4e7df3710c1ba9235d3041 (diff) | |
download | nixpkgs-ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5.tar nixpkgs-ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5.tar.gz nixpkgs-ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5.tar.bz2 nixpkgs-ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5.tar.lz nixpkgs-ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5.tar.xz nixpkgs-ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5.tar.zst nixpkgs-ae87533ba16cfe9bd2a77132df0080e9ab5fd9a5.zip |
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>
Diffstat (limited to 'pkgs/os-specific/linux/kernel-headers')
-rw-r--r-- | pkgs/os-specific/linux/kernel-headers/default.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/kernel-headers/default.nix b/pkgs/os-specific/linux/kernel-headers/default.nix index 34fbde9d676..a64787cac1e 100644 --- a/pkgs/os-specific/linux/kernel-headers/default.nix +++ b/pkgs/os-specific/linux/kernel-headers/default.nix @@ -1,11 +1,8 @@ { stdenvNoCC, lib, buildPackages, fetchurl, perl, elf-header -, bison ? null, flex ? null, python ? null, rsync ? null +, bison, flex, rsync , writeTextFile }: -assert stdenvNoCC.hostPlatform.isAndroid -> - (flex != null && bison != null && python != null && rsync != null); - let # As part of building a hostPlatform=mips kernel, Linux creates and runs a @@ -50,7 +47,7 @@ let nativeBuildInputs = [ perl elf-header ] ++ lib.optionals stdenvNoCC.hostPlatform.isAndroid [ - flex bison python rsync + bison flex rsync ] ++ lib.optionals (stdenvNoCC.buildPlatform.isDarwin && stdenvNoCC.hostPlatform.isMips) [ darwin-endian-h |