nix-servo/linux_zynq.nix

20 lines
494 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, buildLinux, ... } @ args:
let
modDirVersion = "6.1.0-xilinx";
in
lib.overrideDerivation (buildLinux (args // {
version = "${modDirVersion}";
inherit modDirVersion;
src = fetchFromGitHub {
owner = "Xilinx";
repo = "linux-xlnx";
rev = "c8b3583bc86352009c6ac61e2ced0e12118f8ebb";
sha256 = "09vfh2p7iszzjqp25fnwpzy52h07v4n161salsia0jyr2g5kxrfr";
};
defconfig = "xilinx_zynq_defconfig";
} // (args.argsOverride or {}))) (oldAttrs: {})