Dne 28. 08. 21 v 4:14 Tianon Gravi napsal(a):
On Fri, 27 Aug 2021 at 16:33, Daniel Milde <[email protected]> wrote:
I have tried to alter the PATH to check /usr/lib/go-1.16/bin, but
debhelper still fails with:
Can't exec "go": No such file or directory at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 523
Hmm, can you share the exact code you're using? I've had success with
"golang-1.16-go" in Build-Depends and the following in "debian/rules":
export PATH := /usr/lib/go-1.16/bin:$(PATH)
♥,
- Tianon
4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4
Ah, thank you Tianon.
I was setting the PATH variable on a wrong place (outside d/rules).
Cheers,
Daniel