Skip to content

Commit 4850fda

Browse files
committed
review
1 parent 6e57df9 commit 4850fda

File tree

1 file changed

+2
-2
lines changed
  • docs/maintainer/example_recipes

1 file changed

+2
-2
lines changed

docs/maintainer/example_recipes/go.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ build:
2929

3030
requirements:
3131
build:
32-
- ${{ compiler("go") }}
32+
- ${{ compiler("go-nocgo") }}
3333
- go-licenses
3434

3535
tests:
@@ -61,6 +61,6 @@ This recipe template supports different features:
6161
- Package licenses of statically linked libraries.
6262
- Ensure only binary is created by using `strict: true` in the `package_contents` tests.
6363

64-
If your package requires `cgo` instead of `go-nocgo`, you can use `${{ compiler("cgo") }}` instead to build the package. By default, the `go-nocgo` compiler [is used](https://github.com/conda-forge/staged-recipes/blob/main/.ci_support/linux64.yaml).
64+
If your package requires `cgo` instead of `go-nocgo`, you can use `${{ compiler("go-cgo") }}` instead to build the package. By default, the `go-nocgo` compiler [is used](https://github.com/conda-forge/staged-recipes/blob/main/.ci_support/linux64.yaml).
6565

6666
Sometimes, `go-licenses` might fail to detect licenses for some packages. In such cases, you can manually download the license file from the official source and add `--ignore github.com/bad-package/bad-package` to the `go-licenses` invokation. See [here](https://github.com/conda-forge/k9s-feedstock/blob/7929e0d86c829ba2ca172f08926f9fb7e6398247/recipe/recipe.yaml) for an example.

0 commit comments

Comments
 (0)