!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

235 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.48 Servers

Load older messages


SenderMessageTime
15 Jan 2024
@qbit:tapenet.org@qbit:tapenet.org as in go mod vendor; git add vindor; git commit ... etc 14:21:26
@qbit:tapenet.org@qbit:tapenet.organd then cut a new release14:21:32
@qbit:tapenet.org@qbit:tapenet.orgnot ideal14:21:34
@fionera:matrix.orgfionerayeah vendoring isnt possible as I am importing k8s and friends14:21:52
@qbit:tapenet.org@qbit:tapenet.org typically you just have src.hash = "" and vendorHash = "", then run nix-build 2x 14:22:13
@qbit:tapenet.org@qbit:tapenet.orgfilling in the hashes as they come14:22:17
@fionera:matrix.orgfioneraok :D Thank you very much :)14:23:01
@qbit:tapenet.org@qbit:tapenet.orgnp!14:24:43
@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. 14:55:58
@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

Show newer messages


Back to Room ListRoom Version: 9