!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
2 Jan 2025
@atemu12:matrix.orgatemu12 Try to access that directory from within the sandbox via a e.g. a simple runCommand to verify 14:56:11
@countoren:matrix.orgcountorenmaybe I will try to switch out from flake to be able to change default.nix14:56:59
@atemu12:matrix.orgatemu12 You should be able to modify it with flakes too; they're shit but not that shit 14:57:36
@countoren:matrix.orgcountorenwell flake is downloading the source (of robotnix) to the nix store14:58:31
@countoren:matrix.orgcountorenwell I mean to clone the repo. 14:58:52
@countoren:matrix.orgcountorenin this machine that i switched to I just used the flake without cloning14:59:11
@atemu12:matrix.orgatemu12Ah 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.orgatemu12Cloning and using the local flake should be easy enough15:01:19
@atemu12:matrix.orgatemu12Ahaahaa wait, this is flakes, I have no idea whether that's simple15:01:37
@atemu12:matrix.orgatemu12Right15: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.orgatemu12You should be able to do the simple sanity check regardless of flakes though15:05:08
@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

Show newer messages


Back to Room ListRoom Version: 6