!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
26 Mar 2024
@atemu12:matrix.orgatemu12I've got a draft for deprecating it and using prebuilts instead but I never finished it20:06:53
@eyjhb:eyjhb.dkeyJhb
In reply to @eyjhb:eyjhb.dk
eyjhb@chronos ~/s/robotnix (master)> tree /nix/store/v1i3dsgqxdf99hknlnlhjsbcfk0j3xas-external=chromium-webview-patched/
/nix/store/v1i3dsgqxdf99hknlnlhjsbcfk0j3xas-external=chromium-webview-patched/
├── patches
└── prebuilt

3 directories, 0 files
But prebuilts doesn't seem to work currently, does it? At least whatever ^ showed
20:07:55
@eyjhb:eyjhb.dkeyJhbBut that seems like a good way to go20:08:00
@eyjhb:eyjhb.dkeyJhbReduce complexity as much as possible20:08:09
@atemu12:matrix.orgatemu12The prebuilt version would be hopelessly out of date anyways20:08:17
@atemu12:matrix.orgatemu12And wouldn't work in modern android20:08:27
@hexa:lossy.networkhexa joined the room.20:09:35
@admin:nixos.org@admin:nixos.org joined the room.20:10:26
@admin:nixos.org@admin:nixos.org set the room name to "Robotnix".20:10:36
Room Avatar Renderer.20:10:37
@hexa:lossy.networkhexa left the room.20:10:56
@eyjhb:eyjhb.dkeyJhbWell well well, that's one way of showing no interest in Robotnix! /s ( hexa ) :D20:11:53
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
The prebuilt version would be hopelessly out of date anyways
Doesn't it follow lineageos??
20:12:39
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
The prebuilt version would be hopelessly out of date anyways
* Doesn't it follow lineageos?
20:12:41
@eyjhb:eyjhb.dkeyJhbI wonder why it isn't in the folder anymore20:15:31
@eyjhb:eyjhb.dkeyJhbAh, new issue20:44:56
@eyjhb:eyjhb.dkeyJhbfetchLFS should be enabled for external it seems. Otherwise prebuilt will not work20:45:09
@samueldr:matrix.orgsamueldr
In reply to @eyjhb:eyjhb.dk
Well well well, that's one way of showing no interest in Robotnix! /s ( hexa ) :D
I asked in the matrix suggestions room to fix the state :)
20:49:30
@eyjhb:eyjhb.dkeyJhbYeah I saw it, just poking fun at it :)20:49:48
@eyjhb:eyjhb.dkeyJhbGetting infinite recursion when I set fetchLFS = true. Well that seems fun20:51:23
@eyjhb:eyjhb.dkeyJhb

But it seems like in flavors/lineageos/default.nix , this should be set instead

  webview.prebuilt.apk = if config.androidVersion >= 11 then
    config.source.dirs."external/chromium-webview/prebuilt/${config.arch}".src + "/webview.apk"
  else
    config.source.dirs."external/chromium-webview".src + "/prebuilt/${config.arch}/webview.apk";
20:53:34
@eyjhb:eyjhb.dkeyJhbBut the new issue is, that file is just some LFS junk, and it needs to be fetched correctly ( https://github.com/LineageOS/android_external_chromium-webview_prebuilt_arm64/blob/main/webview.apk )20:54:00
@eyjhb:eyjhb.dkeyJhb
      # LineageOS will sometimes force-push to this repo, and the older revisions are garbage collected.
      # So we'll just build chromium webview ourselves.
      "external/chromium-webview".enable = false;
20:54:50
@eyjhb:eyjhb.dkeyJhbAnd I guess that should be changed as well.20:54:56
@eyjhb:eyjhb.dkeyJhbNo clue, need assistance if I am to look further at it. But before the prebuilt webviews can work again, the mk_repo_file.py needs to do lfs, and the pkgs.fetchgit needs to add lfs support as well. AFAIK the manifest does not specify if LFS is needed..21:34:50
@eyjhb:eyjhb.dkeyJhbBut then again, https://github.com/LineageOS/android/blob/lineage-20.0/default.xml i'm not sure where the chromium prebuilt comes from, in which manifest21:35:24
@eyjhb:eyjhb.dkeyJhbhttps://github.com/remote-android/platform_manifests/blob/redroid-11.0.0/external.xml#L7 oh, maybe it does. If I could find the correct manifest21:36:35
27 Mar 2024
@admin:nixos.org@admin:nixos.org left the room.04:07:20
@eyjhb:eyjhb.dkeyJhbWell, I think I've patched most of robotnix to allow LFS now. It shouldn't really change much, as if a repo is not using LFS, it will give the same hash either way (LFS enabled or disabled). :)08:28:26
@eyjhb:eyjhb.dkeyJhbSlowly learning how the source code works.08:28:33

Show newer messages


Back to Room ListRoom Version: 6