summaryrefslogtreecommitdiffstats
path: root/inversepath/usbarmory/kernel.nix
blob: 4cf6fd7fdb8ad11c98cd210c193397b66e906c86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, buildLinux, fetchurl }:

buildLinux {
  inherit stdenv;
  version = "4.4.0";

  src = fetchurl {
    url = "mirror://kernel/linux/kernel/v4.x/linux-4.4.tar.xz";
    sha256 = "401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2";
  };

  configfile = ./kernel.config;

  kernelPatches = [{
    patch = ./usbarmory-dts.patch;
    name = "usbarmory-dts";
  }];

  allowImportFromDerivation = true;
}