| 29 Mar 2024 |
eyJhb | I wonder how much of Nix would break with errexit. Most likely, a lot. | 09:19:30 |
CyberShadow | Yes, same is true for most shell scripts written without it in mind in general | 09:20:35 |
CyberShadow | There are gotchas like grep returning failure if it doesn't find at least one match, so a lot of grep invocations need to be pacified with || true OSLT | 09:21:17 |
eyJhb | Yeah true. But I think we have many hidden failures as well. Bash might not have been the best way to package things :p | 09:22:29 |
CyberShadow | Oh, another annoying thing is that the Android build scripts (that you have to source into your shell) don't work with errexit either. | 09:24:18 |
eyJhb | But would it make sense to have a separate PR that bumped nixpkgs to 23.11, and then when that is merged, rebase the changes you've made? - Just to keep it simple (maybe). | 09:24:47 |
eyJhb | In reply to @cybershadow:cy.md Oh, another annoying thing is that the Android build scripts (that you have to source into your shell) don't work with errexit either. I think Android build tools are made of duct tape + hope and dreams | 09:25:00 |
CyberShadow | Redacted or Malformed Event | 09:27:51 |
CyberShadow | Redacted or Malformed Event | 09:28:03 |
CyberShadow | Redacted or Malformed Event | 09:28:28 |
CyberShadow | Redacted or Malformed Event | 09:28:58 |
CyberShadow | Redacted or Malformed Event | 09:29:56 |
eyJhb | Why the deletion of messages, did you discover something? :D | 09:38:30 |
CyberShadow | Yes, discovered I was wrong, haha | 09:38:42 |
eyJhb | AT some point I'll try to bump nixpkgs to 23.11, and see if I can make it build for FP4 | 09:49:10 |
eyJhb | Just to have some sort of "benchmark" | 09:49:18 |
eyJhb | Or... A pass | 09:50:09 |
CyberShadow | I think this is it: https://github.com/nix-community/robotnix/pull/230 | 09:56:42 |
CyberShadow | It's confusing because nixpkgs' setup.sh (which we source) starts with set -eu. But it restores the flags at the bottom. | 09:58:01 |
eyJhb | Niiiiiiiiiiiiice, good job tracking that down!! | 10:17:14 |
eyJhb | I can test it the OOM way again if you need that :) | 10:17:27 |
eyJhb | * right after I've built the entire world. Not sure why I have to compile so much from scratch right now for my system upgrade. | 10:22:26 |
eyJhb | Eh, seems like I can check it when I get home again Saturday at some point, if needed :) | 10:34:19 |
CyberShadow | Is it possible to build a ROM in GitHub Actions? I realize they're resource-constrained, but also I think they have a generous timeout? | 11:13:27 |
atemu12 | Only one way to find out | 11:14:48 |
magic_rb | *github starts wondering who the fuck is compiling 3 different versions of android and why* | 11:19:14 |
CyberShadow | Eh, I'm sure they deal with a lot more pointless and questionable stuff on the regular. Let's find out: https://github.com/CyberShadow/robotnix/actions/runs/8480429560/job/23236131094 | 11:30:29 |
CyberShadow | fatal: failed to write to /nix/store/h4jzhx12k3qhcny7j8ws0mbkr71d5hj6-art/.git/shallow.lock: No space left on device RIP | 11:31:56 |
magic_rb | Lol | 11:32:00 |
magic_rb | That was quick | 11:32:03 |