!QCCCSJHEsTIfozrZxz:nixos.org

Nix + Go

231 Members
Go packaging for and with Nixpkgs. | Be excellent to each other.52 Servers

Load older messages


SenderMessageTime
21 Oct 2024
@galaxyyy:matrix.orgSaturn
In reply to @daveseddon:matrix.org
Saturn: I believe this means that you DO have a vendor/modules.txt file. e.g. The go.mod and modules.txt are out of sync with each other. Maybe "rm -rf vendor" will fix it? Or "go mod vendor"
Actually seems I needed to just set subPackages = ["."] iirc
17:34:36
@galaxyyy:matrix.orgSaturn That error ended up not being the one that caused the build to fail and those were more so just warnings 17:35:03
@daveseddon:matrix.orgdave seddonok. great! Is https://github.com/hrfee/jfa-go/blob/main/Makefile#L35-L42 now up to date with a complete working solution?17:36:08
@galaxyyy:matrix.orgSaturn Yeah for the most part the package works aside from a few small bugs but I'm not sure if those are something to do with my packaging or upstream 17:37:11
@galaxyyy:matrix.orgSaturn I would share the derivation file but it looks like I haven't pushed it yet and I'm currently not home 17:38:14
@daveseddon:matrix.orgdave seddonThanks again. - I'm just trying to understand the "best" way to build go packages with nix. I guess once this is pushed I will try to copy it and make it work for my little project.... Really hoping to use DockerTools to build the docker container with the golangs binary inside it17:41:04
@galaxyyy:matrix.orgSaturnThis project in particular seems to do things a bit different especially when it comes to the UI part17:41:57
@daveseddon:matrix.orgdave seddonI'll be curious to see how it compares to the wiki: https://nixos.wiki/wiki/Go17:42:10
@galaxyyy:matrix.orgSaturn However I can share a basic Telegram bot I have which is built with Nix and I also build a Docker image with Nix containing the package if your interested in looking at that 17:42:44
@daveseddon:matrix.orgdave seddonoh that would be awesome!17:45:25
@galaxyyy:matrix.orgSaturn
In reply to @daveseddon:matrix.org
oh that would be awesome!

App package: https://github.com/Saturn745/Divine-Intellect-Telegram/blob/main/default.nix

OCI Image: https://github.com/Saturn745/Divine-Intellect-Telegram/blob/main/image.nix

18:14:24
@artur:glasgow.socialmoved to @amadaluzia:tchncs.de changed their display name from (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" to (artur 'manuel).20:03:38
22 Oct 2024
@zarel_it:matrix.orgzarel left the room.09:31:40
@odysee:catgirl.cloudodysee set a profile picture.14:18:55
23 Oct 2024
@katexochen:matrix.orgPaul Meyer (katexochen)Any opinions on https://discourse.nixos.org/t/buildgomodule-produces-dynamically-linked-binaries-without-runpath/54764 ? Sounds like something we might want to fix if it isn't intended for some reason.08:48:50
@luna-null:matrix.orgluna-null changed their display name from Autumn to luna-null.09:49:28
24 Oct 2024
@vkryachko:matrix.orgVova Kryachko joined the room.13:22:46
25 Oct 2024
@lholh:matrix.orglholh joined the room.03:54:33
@katexochen:matrix.orgPaul Meyer (katexochen) There will be a Go meetup @ NixCon on Sunday, 11:00. Join us in discussing Go in nixpkgs, buildGoModule and community projects around Go and Nix. Check out the pad and feel free to add topics. 12:28:43
@qbit:tapenet.org@qbit:tapenet.orgNice!12:40:51
@chrispickard:matrix.orgchrispickard left the room.18:50:51
26 Oct 2024
@chensl:mozilla.orgchensl left the room.07:06:10
@immll:envs.netimmll left the room.08:40:52
@svrana:matrix.orgsvrana left the room.15:51:48
@svrana:matrix.orgsvrana joined the room.16:03:45
27 Oct 2024
@mrene:matrix.orgmrene left the room.01:48:38
29 Oct 2024
@mat:matrix.matmoa.xyzmat left the room.19:58:18
31 Oct 2024
@theutz:matrix.orgtheutz joined the room.13:21:55
1 Nov 2024
@ryan4yi:matrix.orgRyan Yin joined the room.14:22:24
2 Nov 2024
@isabel:isabelroses.comisabel changed their profile picture.10:07:49

Show newer messages


Back to Room ListRoom Version: 9