Nix + Go | 236 Members | |
| Go packaging for and with Nixpkgs. | Be excellent to each other. | 48 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Sep 2024 | ||
| For others, I left comments in the PR | 03:48:29 | |
| read them | 03:49:07 | |
| thanks | 03:49:10 | |
| 14:38:15 | ||
| 14:38:38 | ||
| Is this the easiest way to use Go 1.23 for a package? https://github.com/NixOS/nixpkgs/pull/344934 | 19:21:07 | |
| Or am I holding something wrong | 19:21:10 | |
| that's the easiest and most correct way | 22:35:24 | |
| and for ktailctl we do some manual things because of the go build inside cmake and I did the exact same patch | 22:35:44 | |
| 28 Sep 2024 | ||
| Hey guys, I'm curious as to how you'd approach building an electron app with go dependencies and an already defined taskfile for binary generation. | 10:13:08 | |
| * Hey guys, I'm curious as to how you'd approach building an electron app with go dependencies and an already defined taskfile for binary generation ?It's my first foray into nix and nixpkgs so I'm still learning. | 10:29:25 | |
| 16:54:19 | ||
| at least you need to fetch the go deps separately if there is not vendoring | 17:41:06 | |
| maybe try looking at ktailctl that does that | 17:41:17 | |
| 22:13:33 | ||
| 30 Sep 2024 | ||
| 08:49:42 | ||
| 1 Oct 2024 | ||
| 21:03:26 | ||
| 2 Oct 2024 | ||
| Question | 10:03:29 | |
| GET /debug/pprof/ matches fewer methods than /debug/pprof/delta_heap | 10:03:30 | |
| 1) what the fuck | 10:03:33 | |
| 2) is this Go 1.23 again | 10:03:47 | |
| https://github.com/grafana/agent/issues/6972 | 10:04:10 | |
| YEUP | 10:04:11 | |
| 3 Oct 2024 | ||
| 14:38:10 | ||
| 4 Oct 2024 | ||
| https://github.com/NixOS/nixpkgs/issues/346380 | 10:14:14 | |
| 16:24:15 | ||
| 6 Oct 2024 | ||
| 03:59:58 | ||
| Hello, I am trying to package a Go application however I ran into an error I've never seen before and can't seem to find anything online
That is the error I am getting and here is my current derivation
Does anybody have any ideas? | 04:03:34 | |
| Saturn: The error your quoting doesn't seem to be the fatal one. Rather the build of internal.go seems to fail:
internal.go has a build tag !external, so it seems like this shouldn't be build by nix. Also check the Makefile, where they control this build tag: https://github.com/hrfee/jfa-go/blob/main/Makefile#L35-L42 So add Next error you will face is
As this is a multi-module repository ./common cannot be build, you can use subPackages so that only the top level package is build:
| 11:08:43 | |
| * Saturn: The error your quoting doesn't seem to be the fatal one. Rather the build of internal.go seems to fail:
internal.go has a build tag !external, so it seems like this shouldn't be build by nix. Also check the Makefile, where they control this build tag: https://github.com/hrfee/jfa-go/blob/main/Makefile#L35-L42 So add Next error you will face is
As this is a multi-module repository ./common cannot be build, you can use subPackages so that only the top level package is build:
Then it builds for me successfully. :) | 11:09:21 | |