diff options
Diffstat (limited to 'pkgs/os-specific/linux/kernel/linux-riscv.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-riscv.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-riscv.nix b/pkgs/os-specific/linux/kernel/linux-riscv.nix new file mode 100644 index 00000000000..45795e24c54 --- /dev/null +++ b/pkgs/os-specific/linux/kernel/linux-riscv.nix @@ -0,0 +1,18 @@ +{ stdenv, buildPackages, hostPlatform, fetchFromGitHub, perl, buildLinux, libelf, utillinux, ... } @ args: + +buildLinux (args // rec { + version = "4.16-rc2"; + modDirVersion = "4.16.0-rc2"; + extraMeta.branch = "4.16"; + + src = fetchFromGitHub { + owner = "shlevy"; + repo ="riscv-linux"; + rev = "f0c42cff9292c0a8e6ca702a54aafa04b35758a6"; + sha256 = "050mdciyz1595z81zsss0v9vqsaysppyzqaqpfs5figackifv3iv"; + }; + + # Should the testing kernels ever be built on Hydra? + extraMeta.hydraPlatforms = []; + +} // (args.argsOverride or {})) |