Created
April 25, 2021 04:53
-
-
Save danielfullmer/24955998c1a449ef903c15d53fe861cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
{ | |
flavor = "twrp"; | |
device = "marlin"; | |
# At least marlin needs this... https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni/issues/33 | |
envVars.ALLOW_MISSING_DEPENDENCIES = "true"; | |
# https://forum.xda-developers.com/t/how-to-building-twrp-from-source-with-goodies.4029449/ | |
source.dirs."device/google/marlin".src = pkgs.fetchFromGitHub { | |
owner = "TeamWin"; | |
repo = "android_device_google_marlin"; | |
rev = "72c4888ced18ffdbff962a3916cbd2a830f4c1ef"; | |
sha256 = "06lf0p8gcm5ixsn08j54k79v55g1akaliyvjsws0v947kb4cs9md"; | |
}; | |
source.dirs."hardware/qcom/bootctrl".src = pkgs.fetchgit { | |
url = "https://android.googlesource.com/platform/hardware/qcom/bootctrl"; | |
rev = "android-9.0.0_r61"; | |
sha256 = "0zm2kqxk7pbn5ihbx3gz0w9ss28qjaxrcfcfx6s4l8gnn0afzk0j"; | |
}; | |
source.dirs."hardware/qcom/msm8998".src = pkgs.fetchgit { | |
url = "https://android.googlesource.com/platform/hardware/qcom/msm8998"; | |
rev = "android-9.0.0_r61"; | |
sha256 = "0qr2mjqwg947hlwvgy511ay4acziyclxz1l52dg2vgsndqhb9hmr"; | |
}; | |
source.dirs."vendor/google".src = pkgs.fetchgit { | |
url = "https://github.com/TheMuppets/proprietary_vendor_google"; | |
rev = "d967c19cec8dcdd50dff88376c959bcec422f46d"; # Latest on lineage-16.0 as of 2021-04-24 | |
sha256 = "0c0nvqxmafll1n79snq3cpmd91n3xy87v4ck4ym9xggnknasyq0q"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment