!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

230 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.50 Servers

Load older messages


SenderMessageTime
15 Jan 2024
@katexochen:matrix.orgPaul Meyer (katexochen) * fionera: or use nix-update, for example nix-update --version=skip --flake <package-attr> will update the vendor hash of a local package in a nix flake. 14:56:12
@katexochen:matrix.orgPaul Meyer (katexochen) * fionera: or use nix-update, for example nix-update --version=skip --flake <package-attr> will update the vendor hash of a local package in a nix flake. 15:18:17
16 Jan 2024
@badbayan:matrix.orgzealot joined the room.12:16:49
@badbayan:matrix.orgzealot left the room.12:17:04
@galaxyyy:matrix.orgSaturn set a profile picture.17:55:57
17 Jan 2024
@sumner:nevarro.spaceSumner Evans changed their profile picture.05:26:12
@garionion:entr0py.degarionion changed their profile picture.09:36:17
23 Jan 2024
@adam:robins.wtfadamcstephens 🐝 joined the room.00:43:27
28 Jan 2024
@k900:0upti.meK900Hey folks15:18:40
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/1e5988ee34cb0c0c5d0db9594f51841455730f54/pkgs/build-support/go/module.nix#L276-L27815:18:41
@k900:0upti.meK900Is there a reason this is serialized?15:18:47
@k900:0upti.meK900Except "no one bothered to make it fast"15:18:52
@qbit:tapenet.org@qbit:tapenet.org My guess would be that you can’t assume the tests can be parallelized- there is a specific test call to allow for it.  15:36:08
@qbit:tapenet.org@qbit:tapenet.org Tests are concurrent by default thi 15:36:20
@qbit:tapenet.org@qbit:tapenet.org Tho 15:36:22
@k900:0upti.meK900But it's doing one package at a time15:36:42
@k900:0upti.meK900Like15:36:49
@k900:0upti.meK900It's doing compile-link-run-compile-link-run etc15:36:59
@k900:0upti.meK900When it could be doing multiple packages in parallel15:37:12
@k900:0upti.meK900Tests in different packages can't talk to each other anyway, right?15:37:22
@k900:0upti.meK900I guess they could be touching ambient state15:37:29
@k900:0upti.meK900But we could have an escape hatch for that15:37:36
@qbit:tapenet.org@qbit:tapenet.org They can call other packages 15:38:16
@k900:0upti.meK900Wew15:38:28
@k900:0upti.meK900/me looks at 40 minutes of grafana tests15:38:41
@qbit:tapenet.org@qbit:tapenet.org try adding -parallel to the check flags? 15:45:16
@k900:0upti.meK900That's not really the problem15:45:55
@k900:0upti.meK900The problem is that it's like 150 packages15:46:05
@k900:0upti.meK900And most of them HAVE NO TESTS15:46:09
@k900:0upti.meK900But it still has to build them, link them and run the resulting binary just for it to print "oops no tests lol"15:46:24

Show newer messages


Back to Room ListRoom Version: 9