Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: override go builder to use overriden go (#20)
### **PR Type** Enhancement ___ ### **Description** - Replaced custom `buildGoNhostModule` with standard `buildGoModule` in `lib/go/go.nix` - Renamed `buildGoNhostModule` to `buildGoModule` in `overlays/go.nix` for consistency - Updated `golangci-lint` configuration to use the new `buildGoModule` function - These changes streamline the Go build process and ensure consistent use of the overridden Go version ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Configuration changes</strong></td><td><table> <tr> <td> <details> <summary><strong>go.nix</strong><dd><code>Update Go build function</code> </dd></summary> <hr> lib/go/go.nix - Changed `pkgs.buildGoNhostModule` to `pkgs.buildGoModule` </details> </td> <td><a href="https://github.com/nhost/nixops/pull/20/files#diff-1377128cceefd42b43cd5e407ec11a809c7aaec2d071a1ed0e3232f6dce63fad">+1/-1</a> </td> </tr> </table></td></tr><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>go.nix</strong><dd><code>Refactor Go-related overlays</code> </dd></summary> <hr> overlays/go.nix <li>Renamed <code>buildGoNhostModule</code> to <code>buildGoModule</code><br> <li> Updated <code>golangci-lint</code> to use <code>prev.final.buildGoModule</code> instead of a <br>custom override<br> </details> </td> <td><a href="https://github.com/nhost/nixops/pull/20/files#diff-46da9fc0b23a2984c1ff57bfd4063ad81fccffcc8403f6902d186d679b4e52bd">+2/-2</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions
- Loading branch information