!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
2 Jan 2025
@countoren:matrix.orgcountorenyes we had to do that too20:37:13
@oak:universumi.fioak 🏳️‍🌈♥️Builds done with pkgsStatic won't use the Android's bionic libc, but instead something that is provided by nixpkgs, statically built into the binary20:37:52
@atemu12:matrix.orgatemu12nix-daemon when?20:38:23
@countoren:matrix.orgcountorenyep20:38:51
@oak:universumi.fioak 🏳️‍🌈♥️For quick hacking that is probably fine, but if you want to properly package software for Android System then it should be built as part of the Android tree20:39:10
@oak:universumi.fioak 🏳️‍🌈♥️For example if you are actually aiming to productize something officially20:39:21
@atemu12:matrix.orgatemu12I mean, we'd just use the nixpkgs ones and add the selinux rule to allow the Nix store just like on Fedora20:39:45
@atemu12:matrix.orgatemu12Or perhaps add a permission for apps to use it20:40:02
@countoren:matrix.orgcountorenit will be the actual differences20:40:27
@countoren:matrix.orgcountoren* what will be the actual differences20:40:37
@countoren:matrix.orgcountoren* what will be the actual differences?20:40:47
@atemu12:matrix.orgatemu12I think we're squarely in the "hacking stuff" field rather than anything close to "productise" or "officially"20:41:00
@atemu12:matrix.orgatemu12I think they mean to build whatever software you want to run as a daemon against the AOSP sources such that it's like the other daemons in Android20:41:56
@atemu12:matrix.orgatemu12When in Rome, do as the Romans do20:42:05
@oak:universumi.fioak 🏳️‍🌈♥️Build done inside the Android tree will use the same compilers and other same tooling that is used to build the rest of the system20:42:33
@countoren:matrix.orgcountoren* what will be the actual differences? like any special restrictions ?20:42:36
@countoren:matrix.orgcountorenthere is one that i know of20:42:52
@countoren:matrix.orgcountorenI had harder time to use logcat in the app20:43:21
@countoren:matrix.orgcountorenended up using spdlog instead20:43:32
@countoren:matrix.orgcountoren* I had harder time to use logcat in the service20:43:57
@countoren:matrix.orgcountorenif building from the tree you should be able using dynamic libs of the device without conflicts. but we are living in the nix world so we usually have nice set of options to replace android libs with.20:49:26
@countoren:matrix.orgcountorenI guess it depends what you need to do. you might get to a "dead end"20:50:02
7 Jan 2025
@cyclopentane:aidoskyneen.eupentane (DECT CYPT/2978) joined the room.10:49:24
9 Jan 2025
@atemu12:matrix.orgatemu12 oak: I just talked to Jonas and he said that it's likely okay for robotnix to use nix-community builders for CI but we'd need to see how it turns out in practice to know for sure 13:09:52
@atemu12:matrix.orgatemu12So if you want to go ahead with adding CI, please feel free :)13:10:07
@oak:universumi.fioak 🏳️‍🌈♥️Need to check out what would be the CI tools they provide, like do they provide buildbot or what?22:03:44
@oak:universumi.fioak 🏳️‍🌈♥️Answering my own question: https://nix-community.org/continuous-integration/22:04:42
10 Jan 2025
@kranzes:matrix.orgkranzes GHA is also provided I believe 02:08:31
@atemu12:matrix.orgatemu12Yes but we won't be able to build in those realistically02:35:56
@oak:universumi.fioak 🏳️‍🌈♥️I'm also always a bit cautious about GHA and usually advise people not to use it, because it's seems so hard to make secure08:40:21

Show newer messages


Back to Room ListRoom Version: 6