!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
25 Apr 2025
@atemu12:matrix.orgAtemuMake sure you have all of those as it works in the Nix sandbox when these are present07:11:36
@atemu12:matrix.orgAtemu* Make sure you have all of those as it works for us in the Nix sandbox when these are present07:11:49
@atemu12:matrix.orgAtemu * 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
@cyclopentane:aidoskyneen.eupentane ⭔You also need to patch bash like we do I think07:15:25
@atemu12:matrix.orgAtemuDo we have a debug env where it's just the fhsenv; without any deps?07:17:11
@atemu12:matrix.orgAtemuDoesn't look like it but that would be very helpful for such cases07:20:05
@atemu12:matrix.orgAtemuPlug in your android version and flavour and get a shell that can build a checkout of that07:20:20
@cyclopentane:aidoskyneen.eupentane ⭔
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:matrix.orgNishith 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:matrix.orgNishith KhannaI think it was glibc.cc I was missing that. It looks like it is working now07:59:59
@nishith.khanna:matrix.orgNishith Khanna* I think it was gcc.cc I was missing that. It looks like it is working now08:00:22
@nrs-status:matrix.orgthirdofmay18081814goya joined the room.16:15:38
@nrs-status:matrix.orgthirdofmay18081814goyaanyone 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
@cyclopentane:aidoskyneen.eupentane ⭔The Nixpkgs manual on Android might be what you're looking for: https://nixos.org/manual/nixpkgs/stable/#android16:22:16
@nrs-status:matrix.orgthirdofmay18081814goyaah will give it a proper read, ty!16:24:26
@atemu12:matrix.orgAtemugradle2nix can do it16:38:27
@atemu12:matrix.orgAtemuOr could, years ago when I last tried it16:38:32
@atemu12:matrix.orgAtemuWe used to build the F-droid APK in a drv in robotnix16:38:42
@atemu12:matrix.orgAtemuBut I removed that in favour of a binary for easier maintenance16:38:57
@nrs-status:matrix.orgthirdofmay18081814goyaoh neat there's a new attempt at gradle2nix17:02:11
29 Apr 2025
@ygt:matrix.org@ygt:matrix.org left the room.23:39:54
1 May 2025
@rosariopulella:matrix.orgRosuavio changed their display name from Rosario Pulella to Rosuavio.20:08:50
3 May 2025
@seb:tchncs.de@seb:tchncs.de left the room.21:45:48
1 May 2025
@oak:universumi.fioak 🫱⭕🫲 changed their display name from oak - mikatammi.fi to oak.23:17:54
@oak:universumi.fioak 🫱⭕🫲 changed their display name from oak to oak 🫱⭕🫲.23:18:25
5 May 2025
@knoopx:matrix.org@knoopx:matrix.org left the room.22:27:02
6 May 2025
@rcmast3r:matrix.orgBen Hall joined the room.19:36:34
7 May 2025
@tennox:matrix.orgManu [tennox] joined the room.11:32:41
@tennox:matrix.orgManu [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
@tennox:matrix.orgManu [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

Show newer messages


Back to Room ListRoom Version: 6