!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

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

Load older messages


SenderMessageTime
17 Aug 2024
@glepage:matrix.orgGaétan LepageAny idea to get around this ?20:54:29
18 Aug 2024
@qbit:tapenet.org@qbit:tapenet.org I think you will need to set the subModules section to cmd/... 02:02:34
@qbit:tapenet.org@qbit:tapenet.orglooks like the docker file has the build steps02:02:56
@qbit:tapenet.org@qbit:tapenet.org sorry, subPackages 02:04:00
@qbit:tapenet.org@qbit:tapenet.org subPackages = [ "./cmd/fmdserver.go" ]; 02:04:27
@qbit:tapenet.org@qbit:tapenet.orgshould do it02:04:31
@r3vx:matrix.orgr3vx joined the room.14:17:52
@glepage:matrix.orgGaé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.netbenjaminedwardwebb changed their display name from benjaminedwardwebb to benwebb.12:44:16
21 Aug 2024
@ripi:matrix.orgripi joined the room.08:48:23
22 Aug 2024
@jaredbaur:matrix.orgJared Baur set a profile picture.02:07:20
@asmundesen:matrix.orgArtur Manuel joined the room.12:58:05
@asmundesen:matrix.orgArtur Manuel changed their profile picture.14:53:00
23 Aug 2024
@benjaminedwardwebb:envs.netbenjaminedwardwebb left the room.18:56:52
@kaya:catnip.ee@kaya:catnip.ee changed their profile picture.23:34:59
24 Aug 2024
@samasaur:matrix.orgsamasaur joined the room.17:32:17
25 Aug 2024
@r_i_s:matrix.orgris_ joined the room.10:53:44
@r_i_s:matrix.orgris_i assume you lot have talked a bunch about getting better test coverage for golang packages10:54:58
@r_i_s:matrix.orgris_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
@katexochen:matrix.orgPaul 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
@r_i_s:matrix.orgris_awesome. yeah it looks like it's always going to be a tricky one to introduce12:57:28
26 Aug 2024
@qbit:tapenet.org@qbit:tapenet.org is there A Way™ to fetch the vendorHash without running nix build? 14:38:46
@diamondburned:matrix.orgDiamond (it/she) you can use gomod2nix or do what Tailscale did with their nardump 14:56:19
27 Aug 2024
@katexochen:matrix.orgPaul 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@qbit:tapenet.orgMm, thanks, I could make that work I think10:25:25
@oliver.falvai:oliverfalvai.xyzoliver.falvai joined the room.10:52:02
@mat:matrix.matmoa.xyz@mat:matrix.matmoa.xyz joined the room.13:24:08
28 Aug 2024
@sem:one.ems.hostsem joined the room.10:18:17
29 Aug 2024
@artur:glasgow.socialmoved to @amadaluzia:tchncs.de joined the room.05:51:15
@cleverca22:matrix.orgcleverca22 joined the room.05:56:32

Show newer messages


Back to Room ListRoom Version: 9