fix: install go.env in go_1_21
fix build error: "GOPROXY list is not the empty string, but contains no entries" see: https://github.com/golang/go/issues/57179
This commit is contained in:
parent
4028a28ac5
commit
cbc976a97c
@ -157,7 +157,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $GOROOT_FINAL
|
||||
cp -a bin pkg src lib misc api doc $GOROOT_FINAL
|
||||
cp -a bin pkg src lib misc api doc go.env $GOROOT_FINAL
|
||||
mkdir -p $out/bin
|
||||
ln -s $GOROOT_FINAL/bin/* $out/bin
|
||||
runHook postInstall
|
||||
|
Loading…
Reference in New Issue
Block a user