25 Apr 2025 |
Atemu | Make sure you have all of those as it works in the Nix sandbox when these are present | 07:11:36 |
Atemu | * Make sure you have all of those as it works for us in the Nix sandbox when these are present | 07:11:49 |
Atemu | * 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 | 07:13:09 |
pentane ⭔ | You also need to patch bash like we do I think | 07:15:25 |
Atemu | Do we have a debug env where it's just the fhsenv; without any deps? | 07:17:11 |
Atemu | Doesn't look like it but that would be very helpful for such cases | 07:20:05 |
Atemu | 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 |
Atemu | gradle2nix can do it | 16:38:27 |
Atemu | Or could, years ago when I last tried it | 16:38:32 |
Atemu | We used to build the F-droid APK in a drv in robotnix | 16:38:42 |
Atemu | 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 |
| Rosuavio 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 |