Nix + Go | 239 Members | |
| Go packaging for and with Nixpkgs. | Be excellent to each other. | 49 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Apr 2024 | ||
| but saving it for usage elsewhere.. | 13:37:55 | |
| It is not weird, commonly done to run integration tests etc. Especially when building with nix, it allows running integration tests outside the sandbox. | 16:51:01 | |
| At work we have a modified version of buildGoModule. Sadly overriding phases isn't possibly/easy, IIRC we copy most of the builder to make the modification. | 16:52:44 | |
| * At work we have a modified version of buildGoModule for this. Sadly overriding phases isn't possibly/easy, IIRC we copy most of the builder to make the modification. | 16:53:06 | |
| first time I have encountered it | 17:04:39 | |
| The specific reason in this case I need to run the test binary as root and I don't want to run the whole toolchain as root. Also I want to copy it to another system | 22:59:25 | |
| 24 Apr 2024 | ||
In reply to @dnrix:matrix.org looked it up, we copy buildPhase and make the following two changes:
| 05:50:29 | |
| 22:01:41 | ||
| 26 Apr 2024 | ||
| 04:18:43 | ||
| 14:48:30 | ||
| 16:00:58 | ||
| 27 Apr 2024 | ||
| 16:03:56 | ||
| 28 Apr 2024 | ||
| 22:47:17 | ||
| 23:13:59 | ||
| 29 Apr 2024 | ||
| 01:46:50 | ||
| Hey y'all I'm trying to use the externalPlugins with coredns. I can' | 02:38:45 | |
* Hey y'all I'm trying to use the externalPlugins with coredns. I can't seem to add coredns-tailscale or coredns-blocklist | 02:39:02 | |
| * Hey y'all I'm trying to use the externalPlugins with coredns. I can't seem to add This is the error I'm seeing https://gist.github.com/anthr76/5d5f43ecc2791c1d1859a6d0dcaf0b67 This is what my code looks like:
| 02:39:53 | |
| * Hey y'all I'm trying to use the externalPlugins with coredns. I can't seem to add This is the error I'm seeing https://gist.github.com/anthr76/5d5f43ecc2791c1d1859a6d0dcaf0b67 This is what my code looks like:
| 02:40:10 | |
| I've had no problems with k8s_gateway. Anyone have any suggestions or see anything glaring wrong? | 02:41:10 | |
could you try overrideAttrs-ing that with modBuildPhase = (old.modBuildPhase) + "go mod tidy && go mod vendor"? | 02:54:22 | |
| Great idea. I’ll give it a go tomorrow more int | 03:07:36 | |
| * Great idea. I’ll give it a go tomorrow morning | 03:07:42 | |
In reply to @diamondburned:matrix.org I ended up seeing the same error :( Which doesn't make much sense because I see the plugins are down before hand | 12:34:19 | |
In reply to @diamondburned:matrix.org* I ended up seeing the same error :( Which doesn't make much sense because I see the plugins are down before hand https://github.com/NixOS/nixpkgs/blob/58a1abdbae3217ca6b702f03d3b35125d88a2994/pkgs/servers/dns/coredns/default.nix#L33 | 12:34:21 | |
| 15:28:52 | ||
| 17:16:43 | ||
| 17:28:05 | ||
| I've opened a bug report here https://github.com/NixOS/nixpkgs/issues/307750 I also tried taking a overlay approach in a more manual manner to understand what's breaking where but it seems like my
| 18:41:20 | |
| 1 May 2024 | ||
| 15:06:38 | ||