!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
2 Jan 2025
@atemu12:matrix.orgAtemuAh I see15:01:08
@countoren:matrix.orgcountoren* in this machine that i switched to I just use the flake without cloning15:01:14
@atemu12:matrix.orgAtemuCloning and using the local flake should be easy enough15:01:19
@atemu12:matrix.orgAtemuAhaahaa wait, this is flakes, I have no idea whether that's simple15:01:37
@atemu12:matrix.orgAtemuRight15:01:41
@countoren:matrix.orgcountorenyes true, tho with my experience it still might deffer between flake to nix-build I had some differences before with file path parsing between the 215:02:37
@countoren:matrix.orgcountorenbut it was long ago it might be fine now15:02:57
@atemu12:matrix.orgAtemuYou should be able to do the simple sanity check regardless of flakes though15:05:08
@atemu12:matrix.orgAtemuIt 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.orgAtemuCome 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.orgAtemuCheck whether that directory exists and is readable inside the sandbox15:10:53
@atemu12:matrix.orgAtemuYou can do that with a simple runCommand15:11:11
@atemu12:matrix.orgAtemuTo 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.orgAtemuHowever you prefer to eval Nix code15:17:57
@atemu12:matrix.orgAtemu 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.orgAtemuYou should check whether the path you've passed through to the sandbox actually exists and the contents are readable15:21:34
@atemu12:matrix.orgAtemu(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.orgAtemuThat'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.orgAtemuAgain, never used it16:19:25
@atemu12:matrix.orgAtemu oak did though I think 16:19:32
@atemu12:matrix.orgAtemuJust try it16:19:36

Show newer messages


Back to Room ListRoom Version: 6