Skip to content

Commit

Permalink
debian/rules: Explicitly set GOTOOLCHAIN=local
Browse files Browse the repository at this point in the history
This is something that also dh-golang does but for some reason it's not
picked up during build and so we may fail if bumping the toolchain
  • Loading branch information
3v1n0 committed Feb 29, 2024
1 parent 737c50e commit 4912aff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL := 4
# Copy in build directory all content to embed
export DH_GOLANG_INSTALL_ALL := 1

# We want to take whatever ubuntu propose to us (as it won’t download a newer version),
# as long as it matches the go.mod go stenza which is the language requirement.
export GOTOOLCHAIN := local

# Use the debian cargo wrapper
export CARGO_PATH := /usr/share/cargo/bin/cargo

Expand Down

0 comments on commit 4912aff

Please sign in to comment.