mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
buildLinux: removes unnecessary parameters
and passes parameters in a single set
This commit is contained in:
parent
cc4677c36e
commit
600e977898
2 changed files with 6 additions and 8 deletions
|
@ -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
|
||||||
|
|
|
@ -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 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue