!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
2 Jan 2025
@atemu12:matrix.orgatemu12It doesn't depend on robotnix15:05:25
@countoren:matrix.orgcountorenanyway trying to understand it better is KEYSDIR is env var expected by the android build tool?15:05:53
@atemu12:matrix.orgatemu12Come again?15:09:02
@countoren:matrix.orgcountoren

o it talking about it being directory. ```

Missing KEYSDIR directory, did you use "--option extra-sandbox-paths /keys=..." ?


15:10:22
@countoren:matrix.orgcountoren *

o it talking about it being directory. ```

Missing KEYSDIR directory, did you use "--option extra-sandbox-paths /keys=..." ?


15:10:44
@atemu12:matrix.orgatemu12Check whether that directory exists and is readable inside the sandbox15:10:53
@atemu12:matrix.orgatemu12You can do that with a simple runCommand15:11:11
@atemu12:matrix.orgatemu12To skip all the complexity of robotnix for troubleshooting15:11:33
@countoren:matrix.orgcountorenyou mean nix shell --pure ? as well?15:14:46
@countoren:matrix.orgcountoren* you mean nix shell --impure ? as well?15:15:56
@atemu12:matrix.orgatemu12However you prefer to eval Nix code15:17:57
@atemu12:matrix.orgatemu12 I'd use a repl or --expr but whatever you like 15:18:15
@countoren:matrix.orgcountorenwhere should I see KEYSDIR?15:21:08
@atemu12:matrix.orgatemu12You should check whether the path you've passed through to the sandbox actually exists and the contents are readable15:21:34
@atemu12:matrix.orgatemu12(From within the sandbox of course.)15:25:01
@countoren:matrix.orgcountorenI guess I never had to use extra-sendbox-paths for everything I did until now(like 10 years of nix) I always resulted with a wrapper if "secrets" are involved. I did add it to my nixos configuration getting permission issues now, I will look into it. but I wonder how hard it will be (or make sense) to "wrap" the builder in writeShellApplication/Script to execute not from a nix sendbox.16:17:37
@atemu12:matrix.orgatemu12That's precisely what the release script does AFAIK16:18:11
@countoren:matrix.orgcountoreno really16:18:27
@countoren:matrix.orgcountorenso I can build release and run it?16:18:37
@atemu12:matrix.orgatemu12Again, never used it16:19:25
@atemu12:matrix.orgatemu12 oak did though I think 16:19:32
@atemu12:matrix.orgatemu12Just try it16:19:36
@atemu12:matrix.orgatemu12And/or read the docs on it16:19:43
@countoren:matrix.orgcountoren I will, again Atemu thank you very much 16:20:06
@oak:universumi.fioak 🏳️‍🌈♥️Yeah, I'm running LineageOS 21 which has been signed with my own keys. I tried to add support for new Android and LineageOS versions in PRs #256 #260 #26116:27:06
@oak:universumi.fioak 🏳️‍🌈♥️But there is this TODO, which I didn't address yet: https://github.com/nix-community/robotnix/blob/master/modules/signing.nix#L12416:28:18
@oak:universumi.fioak 🏳️‍🌈♥️That probably needs some bigger change and probably needs some mapping for which keys are used for which things16:33:29
@oak:universumi.fioak 🏳️‍🌈♥️Could we somehow get some CI processes working for this project? I'm also interested in contributing to that16:38:43
@oak:universumi.fioak 🏳️‍🌈♥️I was in NixCon Berlin 2024 and they told NixOS Foundation could provide some CI resources for community projects16:39:18
@atemu12:matrix.orgatemu12Sure16:40:42

Show newer messages


Back to Room ListRoom Version: 6