guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65317] [PATCH v2 1/1] gnu: Add go-1.21.


From: Katherine Cox-Buday
Subject: [bug#65317] [PATCH v2 1/1] gnu: Add go-1.21.
Date: Tue, 15 Aug 2023 17:29:29 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

This version solves the problem by reversing the symlinking done during install as suggested in https://github.com/golang/go/issues/61921. Instead of:

- mv bin $out/bin
- ln -s ../../bin $out/lib/go/bin

we need to do:
- mv bin $out/lib/go/
- ln -s lib/go/bin $out/bin

This is because GOROOT_FINAL no longer has the intended effect and the binaries are expecting binaries to be run from GOROOT which is $out/lib/go.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]