1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 05:21:47 +03:00
mobile-nixos/devices/sony-pioneer/kernel/default.nix
2020-10-02 19:49:11 -04:00

28 lines
724 B
Nix

{
mobile-nixos
, fetchFromGitHub
}:
mobile-nixos.kernel-builder-gcc49 {
version = "4.4.205";
configfile = ./config.aarch64;
# https://github.com/LineageOS/android_kernel_sony_sdm660
src = fetchFromGitHub {
owner = "LineageOS";
repo = "android_kernel_sony_sdm660";
rev = "c4bdbbfd01ed97ad9055612073b22beb6131e206";
sha256 = "0wlpxjsh8lx1rb30jbd1y52hi3l992cx6lspyb0jwgdyan9sp7p1";
};
patches = [
./0001-Mobile-NixOS-configure-LEDs.patch
./0001-mobile-nixos-Adds-and-sets-BGRA-as-default.patch
./0001-mobile-nixos-Workaround-selected-processor-does-not-.patch
./0003-arch-arm64-Add-config-option-to-fix-bootloader-cmdli.patch
];
isImageGzDtb = true;
isModular = false;
}