mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 01:37:24 +08:00
inversepath/usbarmory: fix evaluation
This commit is contained in:
20
inversepath/usbarmory/kernel.nix
Normal file
20
inversepath/usbarmory/kernel.nix
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
Reference in New Issue
Block a user