| 4 Jun 2025 |
matthewcroughan - nix.zone | I'll just add a tmate breakpoint and ssh into the failed build | 14:58:37 |
matthewcroughan - nix.zone | seems less janky than making a bunch of bind mounts? | 14:58:44 |
pentane ⭔ | in my experience, debugEnterEnv works pretty well | 14:58:57 |
pentane ⭔ | In reply to @matthewcroughan:defenestrate.it I'll just add a tmate breakpoint and ssh into the failed build but yeah I suppose that this should work too | 14:59:08 |
matthewcroughan - nix.zone | user: matthew 🌐 swordfish in /tmp/nix-build-robotnix-lineage_hlte-2025040309.drv-0/build🔒
❯ fd lineage_hlte.mk
out/soong/Android-lineage_hlte.mk
out/soong/installs-lineage_hlte.mk
out/soong/late-lineage_hlte.mk
out/soong/make_vars-lineage_hlte.mk
| 14:59:48 |
matthewcroughan - nix.zone | This is just --keep-failed, did you expect something not to work? | 15:00:08 |
pentane ⭔ | Yeah, it should include the sources too | 15:00:59 |
matthewcroughan - nix.zone | [root@swordfish:/tmp/nix-build-robotnix-lineage_hlte-2025040309.drv-0/build]# grep -ri 'Robotnixprebuiltwebview'
out/error.log:Robotnixprebuiltwebview
grep: out/build_error: binary file matches
| 15:01:25 |
pentane ⭔ | I mean, I know that --keep-failed won't because the sources are bind-mounted into the workdir during the build process | 15:01:27 |
matthewcroughan - nix.zone | yeah doesn't occur as expected | 15:01:32 |
pentane ⭔ | Yep | 15:01:36 |
matthewcroughan - nix.zone | bu | 15:01:38 |
matthewcroughan - nix.zone | * bind mounts in a drv? | 15:01:42 |
pentane ⭔ | Yep | 15:01:45 |
pentane ⭔ | it creates its own namespace | 15:01:51 |
matthewcroughan - nix.zone | how does that work | 15:01:51 |
matthewcroughan - nix.zone | I thought you couldn't do that in a drv | 15:02:01 |
pentane ⭔ | Copying the sources wouldn't be feasible because they're massive | 15:02:02 |
magic_rb | User namespaces | 15:02:34 |
pentane ⭔ | modules/base.nix:323 ;) | 15:02:39 |
magic_rb | You can run podman in a drv no problem | 15:02:46 |
matthewcroughan - nix.zone | Huh, my hook doesn't seem to work on robotnix drvs for some reason | 15:16:46 |
matthewcroughan - nix.zone | do you modify the failureHooks at all? | 15:16:56 |
pentane ⭔ | hmm, I don't think so | 15:25:20 |
atemu12 | It actually works okay if you have a reflink-capable filesystem; it just takes a while to iterate over all those files | 21:04:45 |
atemu12 | No idea honestly; might perhaps be a red herring though now that I think about it | 21:07:12 |
atemu12 | Get the other shit worked out first perhaps | 21:07:23 |
atemu12 | You can disable the webview entirely for now but keep in mind that this will cause a boot loop | 21:08:15 |
atemu12 | Android 15 has a hard requirement on a webview | 21:08:46 |
atemu12 | Can't even run an operating system without fscking Chromium present smh | 21:09:25 |