nix-servo/linux_zynq.nix
Florian Agbuya a8542697f1 use the linux xilinx fork for the kernel
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
2023-11-13 13:50:16 +08:00

20 lines
494 B
Nix

{ 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: {})