mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
bd9737cc3e
I noticed that almost all the Hydra build failures were on i686. Sure enough, upstream says that you need an x86_64 machine to build the kernel.
25 lines
722 B
Nix
25 lines
722 B
Nix
{ stdenv, fetchgit, perl, buildLinux, ncurses, ... } @ args:
|
|
|
|
# ChromiumOS requires a 64bit build host
|
|
assert stdenv.is64bit;
|
|
|
|
import ./generic.nix (args // rec {
|
|
version = "3.18.0";
|
|
extraMeta.branch = "3.18";
|
|
|
|
src = fetchgit {
|
|
url = "https://chromium.googlesource.com/chromiumos/third_party/kernel";
|
|
rev = "3179ec7e3f07fcc3ca35817174c5fc6584030ab3";
|
|
sha256 = "0hfa97fs216x8q20fsmw02kvf6mw6c6zczfjk2bpym6v7zxdzj28";
|
|
};
|
|
|
|
features.iwlwifi = true;
|
|
features.efiBootStub = true;
|
|
features.needsCifsUtils = true;
|
|
features.canDisableNetfilterConntrackHelpers = true;
|
|
features.netfilterRPFilter = true;
|
|
features.chromiumos = true;
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
} // (args.argsOverride or {}))
|