| 15 Jan 2024 |
@qbit:tapenet.org | as in go mod vendor; git add vindor; git commit ... etc | 14:21:26 |
@qbit:tapenet.org | and then cut a new release | 14:21:32 |
@qbit:tapenet.org | not ideal | 14:21:34 |
fionera | yeah vendoring isnt possible as I am importing k8s and friends | 14:21:52 |
@qbit:tapenet.org | typically you just have src.hash = "" and vendorHash = "", then run nix-build 2x | 14:22:13 |
@qbit:tapenet.org | filling in the hashes as they come | 14:22:17 |
fionera | ok :D Thank you very much :) | 14:23:01 |
@qbit:tapenet.org | np! | 14:24:43 |
Paul 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 |
Paul 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 |
Paul 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 |
| zealot joined the room. | 12:16:49 |
| zealot left the room. | 12:17:04 |
| Saturn set a profile picture. | 17:55:57 |
| 17 Jan 2024 |
| Sumner Evans changed their profile picture. | 05:26:12 |
| garionion changed their profile picture. | 09:36:17 |
| 23 Jan 2024 |
| adamcstephens 🐝 joined the room. | 00:43:27 |
| 28 Jan 2024 |
K900 | Hey folks | 15:18:40 |
K900 | https://github.com/NixOS/nixpkgs/blob/1e5988ee34cb0c0c5d0db9594f51841455730f54/pkgs/build-support/go/module.nix#L276-L278 | 15:18:41 |
K900 | Is there a reason this is serialized? | 15:18:47 |
K900 | Except "no one bothered to make it fast" | 15:18:52 |
@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 | Tests are concurrent by default thi | 15:36:20 |
@qbit:tapenet.org | Tho | 15:36:22 |
K900 | But it's doing one package at a time | 15:36:42 |
K900 | Like | 15:36:49 |
K900 | It's doing compile-link-run-compile-link-run etc | 15:36:59 |
K900 | When it could be doing multiple packages in parallel | 15:37:12 |
K900 | Tests in different packages can't talk to each other anyway, right? | 15:37:22 |
K900 | I guess they could be touching ambient state | 15:37:29 |