!UUYziobKGGxpovWyAN:nixos.org

Robotnix

228 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix69 Servers

Load older messages


SenderMessageTime
4 Jun 2025
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Ahh14:41:17
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)and going on an expedition to find the most up-to-date recent sources, and try to make them build with 22.114:41:19
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)which got me to the point above, where I get quite far into the build phase, but then these packages are missing14:41:33
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)IIRC I had a similar problem while trying to implement LOS 22.2 support on my git-repo tooling rewrite feature branch, lemme check14:41:57
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Yeah actually has anyone tested building LOS 22.1 with robotnix on a supported device? 14:45:04
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)maybe nobody tested lately14:45:11
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Yep, I successfully built an FP4 22.1 image a couple months ago14:45:28
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Already on 22.2 rn though14:45:39
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)
In reply to @cyclopentane:aidoskyneen.eu
IIRC I had a similar problem while trying to implement LOS 22.2 support on my git-repo tooling rewrite feature branch, lemme check
Okay no that was something else
14:45:56
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)and you're building that with robotnix?14:46:47
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Yep14:46:57
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)do you have a fork then14:46:59
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)I only see 22.1 in mainline14:47:05
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Yep, it's under https://codeberg.org/cyclopentane/robotnix14:47:11
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Atemu and I wanted to merge the git-repo handling rewrite for a while now but we never got around doing so14:47:34
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978) Basically it's a rewrite of mk_repo_file.py and the LOS-specific device repo updater scripts in Rust to make the handling easier 14:48:19
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Ah interesting, using your repo I get this14:48:40
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)
evaluation warning: hlte is not an officially-supported device for LineageOS
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating the derivation attribute 'name'
         at /nix/store/n67nldl8x3f44w9mvk5zvij0q1rwnsmq-source/pkgs/stdenv/generic/make-derivation.nix:336:7:
          335|     // (optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          336|       name =
             |       ^
          337|         let

       … while evaluating the option `buildNumber':

       … while evaluating the option `buildDateTime':

       … while evaluating the option `source.dirs':

       … while evaluating definitions from `/nix/store/xifnlh6fjhk1axipz9c943smq76bcmiz-source/modules/source.nix':

       … while evaluating the option `source.manifests.lineage.branch':

       … while evaluating definitions from `/nix/store/xifnlh6fjhk1axipz9c943smq76bcmiz-source/flavors/lineageos':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'hlte' missing
       at /nix/store/xifnlh6fjhk1axipz9c943smq76bcmiz-source/flavors/lineageos/default.nix:26:19:
           25|   LineageOSRelease = androidVersionToLineageBranch.${builtins.toString config.androidVersion};
           26|   defaultBranch = deviceMetadata.${config.device}.branch;
             |                   ^
           27|
14:48:54
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)So in this setup you no longer support adding your own unsupported devices?14:49:20
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Currently I'm just pulling the device list from https://github.com/LineageOS/hudson/blob/main/lineage-build-targets14:49:52
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Providing a mechanism for building officially unsupported devices is on my todo list though :)14:50:12
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978) The official LOS build scripts are pretty dumb in that regard - when you breakfast some device, it literally just searches the https://github.com/LineageOS/android_device_*_* namespace for some repo that ends with the requested device name 14:51:43
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978) so ideally I'd just pull the default branch from github:LineageOS/hudson and take the remaining info directly from the device repos 14:52:10
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192) But your work is unlikely to solve my issue of the build scripts thinking that the Robotnixprebuiltwebview package is missing, right? 14:52:50
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)Yep14:53:01
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)How is this string even constructed? I couldn't find it anywhere in Robontix14:53:01
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)* How is this string even constructed? I couldn't find it anywhere in Robotnix14:53:05
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)No idea tbh, haven't interacted with that part of LOS yet14:53:40
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978) have you already tried building a debug env and taking a look at device/samsung/hlte/lineage_hlte.mk to see whether it actually includes the string Robotnixprebuiltwebview? 14:54:15
@matthewcroughan:defenestrate.itmatthewcroughan @ 39c3 (DECT 94667 or 97340 or 67192)Debug env? 14:54:34

Show newer messages


Back to Room ListRoom Version: 6