!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
26 Mar 2024
@eyjhb:eyjhb.dkeyJhbI might also be missunderstanding how it works.19:14:32
@atemu12:matrix.orgatemu12
In reply to @eyjhb:eyjhb.dk
It compiled! I would be interested in seeing how tough lineageos 21 would be
LOS20 involved rebasing some patches and doing some miscellaneous adjustments but wasn't too bad
20:04:20
@eyjhb:eyjhb.dkeyJhbI would try to do it, but I don't know enough about it. And robotnix seems to be a BEAST...20:05:22
@eyjhb:eyjhb.dkeyJhbThe entire thing about webview also seems tedious at best. E.g. having to package chromium/bromium specifically for robotnix seems like a huge undertaking.20:06:13
@atemu12:matrix.orgatemu12Yeah I haven't bothered with webview at all20:06:26
@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

Show newer messages


Back to Room ListRoom Version: 6