buildLinux: removes unnecessary parameters

and passes parameters in a single set
This commit is contained in:
Matthieu Coudron 2018-03-08 12:45:39 +09:00
parent cc4677c36e
commit 600e977898
2 changed files with 6 additions and 8 deletions

View file

@ -1,12 +1,10 @@
{ buildPackages, runCommand, nettools, bc, bison, flex, perl, gmp, libmpc, mpfr, openssl { buildPackages
, ncurses , ncurses
, libelf
, utillinux
, writeTextFile, ubootTools
, callPackage , callPackage
}: , perl
, bison ? null
{ stdenv, buildPackages, perl, buildLinux , flex ? null
, stdenv
, # The kernel source tarball. , # The kernel source tarball.
src src

View file

@ -13445,7 +13445,7 @@ with pkgs;
# A function to build a manually-configured kernel # A function to build a manually-configured kernel
linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {}); linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});
buildLinux = makeOverridable (callPackage ../os-specific/linux/kernel/generic.nix {}); buildLinux = attrs: callPackage ../os-specific/linux/kernel/generic.nix attrs;
keyutils = callPackage ../os-specific/linux/keyutils { }; keyutils = callPackage ../os-specific/linux/keyutils { };