2020-09-28 05:04:23 +03:00
|
|
|
{
|
|
|
|
mobile-nixos
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2020-10-01 09:17:20 +03:00
|
|
|
mobile-nixos.kernel-builder-gcc49 {
|
2020-09-28 05:04:23 +03:00
|
|
|
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 = [
|
2020-09-28 05:57:23 +03:00
|
|
|
./0001-Mobile-NixOS-configure-LEDs.patch
|
2020-09-28 05:04:23 +03:00
|
|
|
./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
|
|
|
|
];
|
|
|
|
|
2020-10-01 09:17:20 +03:00
|
|
|
isImageGzDtb = true;
|
2020-09-28 05:04:23 +03:00
|
|
|
isModular = false;
|
2020-10-01 09:17:20 +03:00
|
|
|
}
|