Robotnix | 241 Members | |
| Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix | 75 Servers |
| Sender | Message | Time |
|---|---|---|
| 2 Jan 2025 | ||
| * I was able to run an image without signing trying to sign now getting:
having this flake:
I assume you guys seen this before, I noticed this issue : | 14:40:58 | |
| I've never done signing but have you passed the signing dir into the sandbox as documented? | 14:51:54 | |
| Using a release script is preferred though I think | 14:52:07 | |
| I tried something like:
but I am not sure I am doing correctly | 14:55:31 | |
| Are you a trusted user? | 14:55:50 | |
| I should be | 14:56:04 | |
Try to access that directory from within the sandbox via a e.g. a simple runCommand to verify | 14:56:11 | |
| maybe I will try to switch out from flake to be able to change default.nix | 14:56:59 | |
| You should be able to modify it with flakes too; they're shit but not that shit | 14:57:36 | |
| well flake is downloading the source (of robotnix) to the nix store | 14:58:31 | |
| well I mean to clone the repo. | 14:58:52 | |
| in this machine that i switched to I just used the flake without cloning | 14:59:11 | |
| Ah I see | 15:01:08 | |
| * in this machine that i switched to I just use the flake without cloning | 15:01:14 | |
| Cloning and using the local flake should be easy enough | 15:01:19 | |
| Ahaahaa wait, this is flakes, I have no idea whether that's simple | 15:01:37 | |
| Right | 15:01:41 | |
| yes 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 2 | 15:02:37 | |
| but it was long ago it might be fine now | 15:02:57 | |
| You should be able to do the simple sanity check regardless of flakes though | 15:05:08 | |
| It doesn't depend on robotnix | 15:05:25 | |
| anyway trying to understand it better is KEYSDIR is env var expected by the android build tool? | 15:05:53 | |
| Come again? | 15:09:02 | |
| o it talking about it being directory. ```
| 15:10:22 | |
| * o it talking about it being directory. ```
| 15:10:44 | |
| Check whether that directory exists and is readable inside the sandbox | 15:10:53 | |
| You can do that with a simple runCommand | 15:11:11 | |
| To skip all the complexity of robotnix for troubleshooting | 15:11:33 | |
| you mean nix shell --pure ? as well? | 15:14:46 | |
| * you mean nix shell --impure ? as well? | 15:15:56 | |