forked from mirrors/nixpkgs
Fixing the evaluation of the linux kernel (= /= ==)
svn path=/nixpkgs/branches/stdenv-updates/; revision=19138
This commit is contained in:
parent
1452ce46a4
commit
d5aa5641de
|
@ -73,8 +73,8 @@ stdenv.mkDerivation {
|
||||||
map ({extraConfig ? "", ...}: extraConfig) kernelPatches;
|
map ({extraConfig ? "", ...}: extraConfig) kernelPatches;
|
||||||
in lib.concatStringsSep "\n" ([config] ++ configFromPatches);
|
in lib.concatStringsSep "\n" ([config] ++ configFromPatches);
|
||||||
|
|
||||||
# For UML, just ignore all options that don't apply (I'm lazy).
|
# For UML and non-PC, just ignore all options that don't apply (We are lazy).
|
||||||
ignoreConfigErrors = (userModeLinux || stdenv.system = "armv5tel-linux");
|
ignoreConfigErrors = (userModeLinux || stdenv.system == "armv5tel-linux");
|
||||||
|
|
||||||
buildInputs = [ perl mktemp ]
|
buildInputs = [ perl mktemp ]
|
||||||
++ lib.optional (platform.uboot != null) [platform.uboot];
|
++ lib.optional (platform.uboot != null) [platform.uboot];
|
||||||
|
|
Loading…
Reference in a new issue