!UUYziobKGGxpovWyAN:nixos.org

Robotnix

256 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix83 Servers

Load older messages


SenderMessageTime
5 May 2023
@atemu12:matrix.orgatemu12You don't need to patch any repo.jsons15:47:47
@atemu12:matrix.orgatemu12Those are just for getting all the stuff the regular build requires in order15:48:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIs it possible to compose with the existing module options?15:48:11
@atemu12:matrix.orgatemu12Just add the source.dir and patch the device file according to the guide15:48:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneOH15:48:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone You mean like source.dir."vendor/gapps" sort of thing? 15:49:01
@atemu12:matrix.orgatemu12Yup15:52:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThat's actually astoundingly easy 15:55:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone Any idea what the branches mean? They have sigma tau etc, I am not sure if this is the size of the package or the android support version 15:57:12
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI'm going to assume based on the commits (I can't find docs) that it's related to the android support version 15:58:29
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone And that sigma is android 12 15:58:36
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
source.dirs."vendor/gapps".src = builtins.fetchGit {
  rev = "d547c376983cc644b5a6b4e7ed1fd59984f5569c";
  ref = "sigma";
  url = "https://gitlab.com/MindTheGapps/vendor_gapps.git";
  allRefs = true;
};
15:58:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThis would then be the total code needed to add gapps to the build process 15:58:54
@kranzes:matrix.orgkranzesis MindTheGapps the right one you want?16:09:15
@kranzes:matrix.orgkranzesand Sigma is the right variant?16:09:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI don't care what it is as long as it provides the google play services for Android 1216:10:24
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI won't know until I try it since I can't find documentation on what the branch names mean 16:10:35
@kranzes:matrix.orgkranzesIt's how many google bloatware to include16:11:00
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAnd I'm stuck at "fetching Git repository", because Nix builtin fetchers failing to resolve?16:11:05
@kranzes:matrix.orgkranzesIs the builtin one needed?16:11:33
@kranzes:matrix.orgkranzesI don't think so16:11:39
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneit's just nicer since then you don't need a sh25616:11:49
@kranzes:matrix.orgkranzesyou don't need it at eval time16:14:01
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone pkgs.fetchgit also doesn't take ref arg 16:14:16
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zonemeaning you can't specify the branch name in addition 16:14:21
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone allRefs = true; also doesn't look like it works 16:14:50
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneNow I have to fill in 5 sha256s16:15:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone

Are you happy?

source.dirs."vendor/gapps".src = pkgs.fetchgit {
  rev = "d547c376983cc644b5a6b4e7ed1fd59984f5569c";
  url = "https://gitlab.com/MindTheGapps/vendor_gapps.git";
  sha256 = "";
};
source.dirs."device/samsung/dreamlte".src = pkgs.fetchgit {
  rev = "f885b96f68f7c9579134a316206e3a556a3f870a";
  url = "https://github.com/8890q/android_device_samsung_dreamlte.git";
  sha256 = "";
};

source.dirs."device/samsung/universal8895-common".src = pkgs.fetchgit {
  rev = "267d670aac1f6b02161d3ff164f411827e4ee68c";
  url = "https://github.com/8890q/android_device_samsung_universal8895-common.git";
  sha256 = "sha256-1AfV/EZBJXKYUOGodOqOF0MQhGynGpsy3ATyylKSuiM=";
};

source.dirs."kernel/xiaomi/sdm710".src = pkgs.fetchgit {
  rev = "d45ecc236a98c10f28d7a0cad5238379634366af";
  url = "https://github.com/8890q/android_kernel_samsung_universal8895.git";
  sha256 = "";
};

source.dirs."vendor/samsung".src = pkgs.fetchgit {
  rev = "64dc02b8f0f12ca3abff2b2674a09c8e57559f7d";
  url = "https://github.com/8890q/proprietary_vendor_samsung.git";
  sha256 = "";
};

source.dirs."hardware/xiaomi".src = pkgs.fetchgit {
  rev = "ee54c6737f5274e8af52de8c11544c97fdeef296";
  url = "https://github.com/8890q/android_hardware_samsung.git";
  sha256 = "";
};
16:15:36
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI'm not sure why the bultin fetcher is having trouble with DNS whereas the derivation one isn't 16:21:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone Ilan Joselevich (Kranzes): I'm using sigma because that's what the stackoverflow was using, and you think this works with Android 12? 16:24:10

Show newer messages


Back to Room ListRoom Version: 6