| 4 Sep 2025 |
pentane | Yeah, 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 environment | 20:28:52 |
pentane | e.g.: currently trying to work around whatever the fuck this is https://github.com/GrapheneOS/adevtool/pull/225/files | 20:29:16 |
Atemu | Or rather unreasonable assumptions about how one acquires the sources | 20:29:28 |
Atemu | "Run this python script that queries all repos in the LineageOS org and fetch the repos that end in the device name" kind of shit | 20:30:06 |
Atemu | * "Run this python script that queries all repos in the LineageOS org and fetches the repos that end in the device name" kind of shit | 20:30:27 |
pentane | Yeah anyway | 20:30:56 |
pentane | Hopefully I'll get the graphene build to work this evening and tested tomorrow | 20:31:19 |
jaen | Nice, I guess I can always continue writing my build tool for the lulz instead of just for getting my phone ROM to work xD | 20:32:38 |
Atemu | Build tool for what? | 20:33:08 |
jaen | For 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 | Anyway, I was probably going about it the wrong way, given that somebody has done it without that xD | 20:55:43 |
Atemu | When I tried that one, that project choked hard on even lix | 20:56:15 |
Atemu | As it turns out, dynamic derivation have quite a bit of overhead | 20:56:44 |
Atemu | Like any derivation I suppose | 20:56:53 |
Atemu | Ah disambiguation: on building the lix project | 20:57:39 |
jaen | Part of it is probably because they spawn `nix` to write the dynamic derivation | 20:57:40 |