!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

You have reached the beginning of time (for this room).


SenderMessageTime
4 Sep 2025
@cyclopentane:aidoskyneen.eupentaneYeah, most of the issues I had to fix come from the downstream distributions (Lineage and Graphene), because they tend to make unreasonable assumptions re the build environment20:28:52
@cyclopentane:aidoskyneen.eupentanee.g.: currently trying to work around whatever the fuck this is https://github.com/GrapheneOS/adevtool/pull/225/files20:29:16
@atemu12:matrix.orgAtemuOr rather unreasonable assumptions about how one acquires the sources20:29:28
@atemu12:matrix.orgAtemu"Run this python script that queries all repos in the LineageOS org and fetch the repos that end in the device name" kind of shit20:30:06
@atemu12:matrix.orgAtemu* "Run this python script that queries all repos in the LineageOS org and fetches the repos that end in the device name" kind of shit20:30:27
@cyclopentane:aidoskyneen.eupentaneYeah anyway20:30:56
@cyclopentane:aidoskyneen.eupentaneHopefully I'll get the graphene build to work this evening and tested tomorrow20:31:19
@jaen:matrix.orgjaenNice, I guess I can always continue writing my build tool for the lulz instead of just for getting my phone ROM to work xD20:32:38
@atemu12:matrix.orgAtemuBuild tool for what?20:33:08
@jaen:matrix.orgjaenFor AOSP. Basically there's this WIP thing - https://github.com/pdtpartners/nix-ninja - that lets you get nix-based incremental builds for projects using ninja with dynamic derivations. AOSP generates ninja files, but they are so humongous the Rust ninja implementation they use just chokes one them. I was trying to write one that doesn't choke to be able to finally update GrapheneOS in robotnix without going insane from time wasted on build failures. And since GrapheneOS is now up to date in robotnix, that particular reason is no longer there ¯\_(ツ)_/¯20:55:13
@jaen:matrix.orgjaenAnyway, I was probably going about it the wrong way, given that somebody has done it without that xD20:55:43
@atemu12:matrix.orgAtemuWhen I tried that one, that project choked hard on even lix20:56:15
@atemu12:matrix.orgAtemuAs it turns out, dynamic derivation have quite a bit of overhead20:56:44
@atemu12:matrix.orgAtemuLike any derivation I suppose20:56:53
@atemu12:matrix.orgAtemuAh disambiguation: on building the lix project20:57:39
@jaen:matrix.orgjaenPart of it is probably because they spawn `nix` to write the dynamic derivation20:57:40

Show newer messages


Back to Room ListRoom Version: 6