| 25 Apr 2025 |
atemu12 | Doesn't look like it but that would be very helpful for such cases | 07:20:05 |
atemu12 | Plug in your android version and flavour and get a shell that can build a checkout of that | 07:20:20 |
pentane ⭔ | In reply to @atemu12:matrix.org Doesn't look like it but that would be very helpful for such cases yeah we should add one | 07:23:36 |
Nishith Khanna | In reply to @atemu12:matrix.org The packages in the FHSEnv of robotnix are defined here:
https://github.com/nix-community/robotnix/blob/89db1507c091cc0ec2b76b107b0a35dc2366239d/modules/envpackages.nix#L12-L39
+ these for LOS
https://github.com/nix-community/robotnix/blob/89db1507c091cc0ec2b76b107b0a35dc2366239d/flavors/lineageos/default.nix#L191 I will try it and get back to you | 07:42:06 |
Nishith Khanna | I think it was glibc.cc I was missing that. It looks like it is working now | 07:59:59 |
Nishith Khanna | * I think it was gcc.cc I was missing that. It looks like it is working now | 08:00:22 |
| thirdofmay18081814goya joined the room. | 16:15:38 |
thirdofmay18081814goya | anyone know of a workflow to manage apk builds with nix? (sorry if it's sightly unrelated to room topic, is there a general mobile/android dev matrix room?) | 16:17:57 |
pentane ⭔ | The Nixpkgs manual on Android might be what you're looking for: https://nixos.org/manual/nixpkgs/stable/#android | 16:22:16 |
thirdofmay18081814goya | ah will give it a proper read, ty! | 16:24:26 |
atemu12 | gradle2nix can do it | 16:38:27 |
atemu12 | Or could, years ago when I last tried it | 16:38:32 |
atemu12 | We used to build the F-droid APK in a drv in robotnix | 16:38:42 |
atemu12 | But I removed that in favour of a binary for easier maintenance | 16:38:57 |
thirdofmay18081814goya | oh neat there's a new attempt at gradle2nix | 17:02:11 |
| 29 Apr 2025 |
| @ygt:matrix.org left the room. | 23:39:54 |
| 1 May 2025 |
| Rosario Pulella changed their display name from Rosario Pulella to Rosuavio. | 20:08:50 |
| 3 May 2025 |
| @seb:tchncs.de left the room. | 21:45:48 |
| 1 May 2025 |
| oak 🏳️🌈♥️ changed their display name from oak - mikatammi.fi to oak. | 23:17:54 |
| oak 🏳️🌈♥️ changed their display name from oak to oak 🫱⭕🫲. | 23:18:25 |
| 5 May 2025 |
| @knoopx:matrix.org left the room. | 22:27:02 |
| 6 May 2025 |
| Ben Hall joined the room. | 19:36:34 |
| 7 May 2025 |
| Manu [tennox] joined the room. | 11:32:41 |
Manu [tennox] | I've never built a ROM but love NixOS on my laptop, and thought it would be awesome for my android (oneplus 6T) as well...
Lineage 22.2 is officially supported.
Am I totally naive to try to get robotnix to build it? | 11:34:48 |
Manu [tennox] | currently failing at this step - added to supported_devices.toml, but get this:
❯ ./update_device_dirs.py --branch lineage-22 oneplus_fajita
SKIP: lineage-22 branch does not exist for fajita
trying git ls-remote https://github.com/TheMuppets/proprietary_vendor_oneplus
SKIP: lineage-22 branch does not exist for https://github.com/TheMuppets/proprietary_vendor_oneplus
| 11:35:50 |
Manu [tennox] | * currently failing at this step - added to supported_devices.toml, but get this:
❯ ./update_device_dirs.py --branch lineage-22 oneplus_fajita
SKIP: lineage-22 branch does not exist for fajita
trying git ls-remote https://github.com/TheMuppets/proprietary_vendor_oneplus
SKIP: lineage-22 branch does not exist for https://github.com/TheMuppets/proprietary_vendor_oneplus
That repo seems un-updated since 3 years... 😥
| 11:38:41 |
Manu [tennox] | apparently TheMuppets just started using separate repos for the devices:
https://github.com/TheMuppets/proprietary_vendor_oneplus_fajita
| 11:50:06 |
Manu [tennox] | So after some hacks in the updater script the build is running, not sure if I did something wrong
https://github.com/nix-community/robotnix/compare/master...tennox:robotnix:fajita-22 | 12:05:24 |
| 8 May 2025 |
atemu12 | The old bad update script has a whitelist branches where it tries the device-specific one | 12:36:58 |
atemu12 | There's a condition somewhere that checks the branch and does it this way | 12:37:36 |