!UUYziobKGGxpovWyAN:nixos.org

Robotnix

241 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix74 Servers

Load older messages


SenderMessageTime
24 Apr 2025
@nishith.khanna:matrix.orgNishith KhannaHi I wanted to build modified version of lineage os for my device I used this gist https://gist.github.com/Arian04/bea169c987d46a7f51c63a68bc117472 but sadly it doesn't work. I got this erorr ld.lld: error: cannot open crtbeginS.o: No such file or directory ld.lld: error: unable to find library -lgcc ld.lld: error: unable to find library -lgcc ld.lld: error: cannot open crtendS.o: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) 13:48:11
25 Apr 2025
@atemu12:matrix.orgatemu12

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:11:11
@atemu12:matrix.orgatemu12Make sure you have all of those as it works in the Nix sandbox when these are present07:11:36
@atemu12:matrix.orgatemu12* Make sure you have all of those as it works for us in the Nix sandbox when these are present07:11:49
@atemu12:matrix.orgatemu12 * 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 (DECT CYPT/2978)You also need to patch bash like we do I think07:15:25
@atemu12:matrix.orgatemu12Do we have a debug env where it's just the fhsenv; without any deps?07:17:11
@atemu12:matrix.orgatemu12Doesn't look like it but that would be very helpful for such cases07:20:05
@atemu12:matrix.orgatemu12Plug in your android version and flavour and get a shell that can build a checkout of that07:20:20
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978)
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 (DECT CYPT/2978)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.orgatemu12gradle2nix can do it16:38:27
@atemu12:matrix.orgatemu12Or could, years ago when I last tried it16:38:32
@atemu12:matrix.orgatemu12We used to build the F-droid APK in a drv in robotnix16:38:42
@atemu12:matrix.orgatemu12But 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.orgrosariopulella 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

Show newer messages


Back to Room ListRoom Version: 6