!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
14 Sep 2025
@jaen:matrix.orgjaenNot until it actually works and the code is presentable and I'm kind of a slow person. It's also nothing groundbreaking yet - it's mostly me writing a ninja build file parser that can handle AOSP's scale without choking, then plugging that into nix-ninja and seeing what falls out. I'll certainly post it somewhere when it's actually usable, so don't worry.06:19:28
@emma:rory.gayEmma [it/its] joined the room.08:39:45
19 Sep 2025
@tehn:matrix.orgDavid changed their display name from xen to David.23:33:04
23 Sep 2025
@a-kenji:matrix.orgkenji changed their display name from a-kenji to kenji.10:42:06
24 Sep 2025
@missfrizzle:catgirl.cloudmissfrizzle joined the room.00:09:01
30 Sep 2025
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) joined the room.16:05:11
@17lifers:mikuplushfarm.ovh17lifers (at mikuplushfarm) 16:05:46
1 Oct 2025
@truelle_trash_queen:matrix.orgTheodora The Absurdist Schizotisticoball joined the room.13:48:50
3 Oct 2025
@eason20000:matrix.orgEason20000 joined the room.14:17:59
5 Oct 2025
@neobrain:matrix.orgneobrain joined the room.13:21:15
7 Oct 2025
@martijn:boers.emailmartijn removed their profile picture.10:54:17
@martijn:boers.emailmartijn set a profile picture.10:55:56
8 Oct 2025
@haauler:matrix.org@haauler:matrix.org left the room.10:43:33
9 Oct 2025
@notgne2:wizbos.club@notgne2:wizbos.club left the room.19:56:13
11 Oct 2025
@Cornu:matrix.orgcornu

hi all, i tried to run the example from the readme ($ nix-build "https://github.com/nix-community/robotnix/archive/master.tar.gz" --arg configuration '{ device = "FP4"; flavor = "lineageos"; }' -A img)) and i get an error:

Any help?

19:55:02
@Cornu:matrix.orgcornu *

hi all, i tried to run the example from the readme ($ nix-build "https://github.com/nix-community/robotnix/archive/master.tar.gz" --arg configuration '{ device = "FP4"; flavor = "lineageos"; }' -A img)) and i get an error:

...
[ 98% 129/131] link out/host/linux-x86/bin/go/soong_build/obj/soong_build
[ 99% 130/131] cp out/host/linux-x86/bin/soong_build
[100% 131/131] analyzing Android.bp files and generating ninja file at out/soong/build.lineage_FP4.ninja
FAILED: out/soong/build.lineage_FP4.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     --soong_variables out/soong/soong.lineage_FP4.variables -o out/soong/build.lineage_FP4.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.lineage_FP4.build Android.bp
Warning: Module 'androidx.wear_wear' depends on non-existing optional_uses_libs 'wear-sdk'
Warning: Module 'androidx.wear.compose_compose-foundation' depends on non-existing optional_uses_libs 'wear-sdk'
Warning: Module 'webview' depends on non-existing optional_uses_libs 'com.android.extensions.xr'
11:16:42 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.

Any help?

19:55:43
@cyclopentane:aidoskyneen.eupentane ⭔huh20:24:39
@cyclopentane:aidoskyneen.eupentane ⭔that shouldn't happen20:24:43
@cyclopentane:aidoskyneen.eupentane ⭔gonna try to reproduce20:24:47
@cyclopentane:aidoskyneen.eupentane ⭔are you sure that it's not an OOM issue? That part of the build is quite RAM hungry (needs >30GiB)20:25:31
@Cornu:matrix.orgcornuah that's possible, i was trying with only 8gb, will try on another machine :+1:21:28:25
@cyclopentane:aidoskyneen.eupentane ⭔ahh yeah that's not enough ;)21:31:44
12 Oct 2025
@Cornu:matrix.orgcornuyeah it was the missing RAM, as it was so early it seemed like a missing dependency ... but more than 32GiB is just insane, some years ago it was possible to build android with 8GiB and some swap. Thank you for the quick help!19:21:31
@cyclopentane:aidoskyneen.eupentane ⭔happy to hear that!19:21:45
@Cornu:matrix.orgcornuHas anyone tried to build the emulator (https://wiki.lineageos.org/emulator) and run it? (device: sdk_phone_x86_64)19:22:53
@cyclopentane:aidoskyneen.eupentane ⭔Oh yeah, supporting that is on my to-do list19:23:20
@cyclopentane:aidoskyneen.eupentane ⭔ what happens if you just put in device = sdk_phone_x86_64? 19:23:33
@Cornu:matrix.orgcornuit's building ... will report back tomorrow ;)19:24:27
@cyclopentane:aidoskyneen.eupentane ⭔nice!19:33:52
@cyclopentane:aidoskyneen.eupentane ⭔which target are you building?19:33:57

Show newer messages


Back to Room ListRoom Version: 6