| 18 Aug 2024 |
@qbit:tapenet.org | sorry, subPackages | 02:04:00 |
@qbit:tapenet.org | subPackages = [ "./cmd/fmdserver.go" ]; | 02:04:27 |
@qbit:tapenet.org | should do it | 02:04:31 |
| r3vx joined the room. | 14:17:52 |
Gaétan Lepage | Oh I see, thank you for your answer.
Actually, I discovered that someone else was already on it in https://github.com/NixOS/nixpkgs/pull/326998 | 19:12:13 |
| 20 Aug 2024 |
| @benjaminedwardwebb:envs.net changed their display name from benjaminedwardwebb to benwebb. | 12:44:16 |
| 21 Aug 2024 |
| ripi joined the room. | 08:48:23 |
| 22 Aug 2024 |
| Jared Baur set a profile picture. | 02:07:20 |
| Artur Manuel joined the room. | 12:58:05 |
| Artur Manuel changed their profile picture. | 14:53:00 |
| 23 Aug 2024 |
| @benjaminedwardwebb:envs.net left the room. | 18:56:52 |
| @kaya:catnip.ee changed their profile picture. | 23:34:59 |
| 24 Aug 2024 |
| samasaur joined the room. | 17:32:17 |
| 25 Aug 2024 |
| ris_ joined the room. | 10:53:44 |
ris_ | i assume you lot have talked a bunch about getting better test coverage for golang packages | 10:54:58 |
ris_ | because so many packages despite having `doCheck = true` are only testing the contents of `subPackages`, which is frequently just the cli package (and frequently has 0 tests anyway) | 10:57:00 |
Paul Meyer (katexochen) | Here is a solution, but it breaks ~300 packages: https://github.com/NixOS/nixpkgs/pull/284568
Maybe we could add a toggle to enable the old behavior so we don't have to handle all the fallout at once? | 12:10:02 |
ris_ | awesome. yeah it looks like it's always going to be a tricky one to introduce | 12:57:28 |
| 26 Aug 2024 |
@qbit:tapenet.org | is there A Way™ to fetch the vendorHash without running nix build? | 14:38:46 |
diamond (it/its) | you can use gomod2nix or do what Tailscale did with their nardump | 14:56:19 |
| 27 Aug 2024 |
Paul Meyer (katexochen) | In reply to @qbit:tapenet.org is there A Way™ to fetch the vendorHash without running nix build? Given proxyVendor = false you can clone the repo, run go mod vendor and nix hash path vendor/ | 06:18:38 |
@qbit:tapenet.org | Mm, thanks, I could make that work I think | 10:25:25 |
| oliver.falvai joined the room. | 10:52:02 |
| @mat:matrix.matmoa.xyz joined the room. | 13:24:08 |
| 28 Aug 2024 |
| sem joined the room. | 10:18:17 |
| 29 Aug 2024 |
| moved to @amadaluzia:tchncs.de joined the room. | 05:51:15 |
| cleverca22 joined the room. | 05:56:32 |
cleverca22 | has anybody had to deal with the new blst package in go? its causing build failures for me when i try to update blockbook | 15:48:21 |
cleverca22 | [root@amd-nixos:~]# ls -ltrh /tmp/nix-build-blockbook-0.4.0.drv-0/source/vendor/github.com/supranational/
total 512
dr-xr-xr-x 3 nixbld1 nixbld 4 Aug 29 13:21 blst
[root@amd-nixos:~]# ls -ltrh /tmp/nix-build-blockbook-0.4.0.drv-0/source/vendor/github.com/supranational/blst/
total 5.0K
-r--r--r-- 1 nixbld1 nixbld 12K Aug 29 13:21 LICENSE
dr-xr-xr-x 3 nixbld1 nixbld 3 Aug 29 13:21 bindings
[root@amd-nixos:~]# ls -ltrh /tmp/nix-build-blockbook-0.4.0.drv-0/source/vendor/github.com/supranational/blst/bindings/
total 8.5K
dr-xr-xr-x 2 nixbld1 nixbld 12 Aug 29 13:21 go
[root@amd-nixos:~]# ls -ltrh /tmp/nix-build-blockbook-0.4.0.drv-0/source/vendor/github.com/supranational/blst/bindings/go/
total 57K
-r--r--r-- 1 nixbld1 nixbld 2.8K Aug 29 13:21 README.md
-r--r--r-- 1 nixbld1 nixbld 3.3K Aug 29 13:21 rb_tree.go
-r--r--r-- 1 nixbld1 nixbld 3.6K Aug 29 13:21 generate.py
-r--r--r-- 1 nixbld1 nixbld 20 Aug 29 13:21 cgo_server.c
-r--r--r-- 1 nixbld1 nixbld 22 Aug 29 13:21 cgo_assembly.S
-r--r--r-- 1 nixbld1 nixbld 14K Aug 29 13:21 blst.tgo
-r--r--r-- 1 nixbld1 nixbld 19K Aug 29 13:21 blst_px.tgo
-r--r--r-- 1 nixbld1 nixbld 7.2K Aug 29 13:21 blst_misc.tgo
-r--r--r-- 1 nixbld1 nixbld 18K Aug 29 13:21 blst_minpk.tgo
-r--r--r-- 1 nixbld1 nixbld 77K Aug 29 13:21 blst.go
| 16:33:41 |
cleverca22 | it looks like go mod vendor is deleting 90% of the source for blst | 16:33:56 |