Sender | Message | Time |
---|---|---|
27 Sep 2024 | ||
loudgolem changed their display name from phanirithvij to loudgolem. | 14:38:15 | |
loudgolem changed their profile picture. | 14:38:38 | |
K900 | Is this the easiest way to use Go 1.23 for a package? https://github.com/NixOS/nixpkgs/pull/344934 | 19:21:07 |
K900 | Or am I holding something wrong | 19:21:10 |
Sandro 🐧 | that's the easiest and most correct way | 22:35:24 |
Sandro 🐧 | 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 | ||
Emmanuel Genga | 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 |
Emmanuel Genga | * 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 |
kaya changed their profile picture. | 16:54:19 | |
Sandro 🐧 | at least you need to fetch the go deps separately if there is not vendoring | 17:41:06 |
Sandro 🐧 | maybe try looking at ktailctl that does that | 17:41:17 |
rajudev joined the room. | 22:13:33 | |
30 Sep 2024 | ||
Frédéric Christ changed their display name from Frédéric Christ 🌴 16.09. - 30.09. to Frédéric Christ. | 08:49:42 | |
1 Oct 2024 | ||
-_o joined the room. | 21:03:26 | |
2 Oct 2024 | ||
K900 | Question | 10:03:29 |
K900 | GET /debug/pprof/ matches fewer methods than /debug/pprof/delta_heap | 10:03:30 |
K900 | 1) what the fuck | 10:03:33 |
K900 | 2) is this Go 1.23 again | 10:03:47 |
K900 | https://github.com/grafana/agent/issues/6972 | 10:04:10 |
K900 | YEUP | 10:04:11 |
3 Oct 2024 | ||
midirhee12 joined the room. | 14:38:10 | |
4 Oct 2024 | ||
Paul Meyer (katexochen) | https://github.com/NixOS/nixpkgs/issues/346380 | 10:14:14 |
bashfulrobot changed their profile picture. | 16:24:15 | |
6 Oct 2024 | ||
Saturn joined the room. | 03:59:58 | |
Saturn | 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 |
Paul Meyer (katexochen) | 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 |
Paul Meyer (katexochen) | * 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 |
Saturn | In reply to @katexochen:matrix.orgI see :) I greatly appreciate your help | 15:06:41 |
Saturn | Awesome yep it built. So this package also needs to generate some UI stuff via NodeJS it seems. What would be the best way to go about that? Just adding node into the build inputs and running the commands in a hook or is there a better way? | 15:55:08 |
Diamond (it/she) | i'd at least split the nodejs stuff out into a separate derivation then link/copy them in | 16:03:17 |