!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
28 Mar 2024
@atemu12:matrix.orgatemu12And I don't need to back it up since it's just a mirror06:38:36
@eyjhb:eyjhb.dkeyJhbhttps://mirrors.tuna.tsinghua.edu.cn/status/06:40:45
@eyjhb:eyjhb.dkeyJhbCurrent size according to that is 2.24TB. That's insane 😅06:41:11
@atemu12:matrix.orgatemu12Might be a full mirror06:41:27
@atemu12:matrix.orgatemu12repo only mirrors the "relevant" branches by default06:41:53
@eyjhb:eyjhb.dkeyJhb The one I just tied to create was over 800GB when I ran out of space. 06:42:47
@eyjhb:eyjhb.dkeyJhb Seems like it's mirrors all branches, otherwise it'll be insanely large 06:43:08
@eyjhb:eyjhb.dkeyJhb Might have to rethink it. Not sure I can actually do that part myself, which is annoying. My "NAS" doesn't have much storage 06:43:55
@atemu12:matrix.orgatemu12:/06:44:07
@atemu12:matrix.orgatemu12btw do note that repo and device dirs are separate06:44:45
@eyjhb:eyjhb.dkeyJhb
In reply to @atemu12:matrix.org
:/
Nix ASOP mirror when? :D
06:45:25
29 Mar 2024
@sebtm:lodere.esSebTM joined the room.03:39:13
@cybershadow:cy.mdCyberShadow joined the room.09:15:49
@eyjhb:eyjhb.dkeyJhb

I suspect that to be the case too. Considering that nixpkgs scripts are executed without errexit or any other bash strict mode flags, I am not at all surprised about such bugs.

I was quite sure that it was required for all phases to exit with code 0. Isn't that the case?

09:16:52
@cybershadow:cy.mdCyberShadow
In reply to @eyjhb:eyjhb.dk

I suspect that to be the case too. Considering that nixpkgs scripts are executed without errexit or any other bash strict mode flags, I am not at all surprised about such bugs.

I was quite sure that it was required for all phases to exit with code 0. Isn't that the case?

Hi!

Yes, but without errexit, you can have a failing command followed by a successful command, and the failing command won't stop the script, and the successful command will still run and cause the script to exit with success (status of last command)

09:18:50
@eyjhb:eyjhb.dkeyJhbAhhhhhhhhhhhhhhhhhhhh, yeah that makes sense09:19:15
@eyjhb:eyjhb.dkeyJhbI wonder how much of Nix would break with errexit. Most likely, a lot. 09:19:30
@cybershadow:cy.mdCyberShadowYes, same is true for most shell scripts written without it in mind in general09:20:35
@cybershadow:cy.mdCyberShadow 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:eyjhb.dkeyJhbYeah true. But I think we have many hidden failures as well. Bash might not have been the best way to package things :p09:22:29
@cybershadow:cy.mdCyberShadowOh, 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:eyjhb.dkeyJhbBut 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:eyjhb.dkeyJhb
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:cy.mdCyberShadowRedacted or Malformed Event09:27:51
@cybershadow:cy.mdCyberShadowRedacted or Malformed Event09:28:03
@cybershadow:cy.mdCyberShadowRedacted or Malformed Event09:28:28
@cybershadow:cy.mdCyberShadowRedacted or Malformed Event09:28:58
@cybershadow:cy.mdCyberShadowRedacted or Malformed Event09:29:56
@eyjhb:eyjhb.dkeyJhbWhy the deletion of messages, did you discover something? :D09:38:30
@cybershadow:cy.mdCyberShadowYes, discovered I was wrong, haha09:38:42

Show newer messages


Back to Room ListRoom Version: 6