teleport: Downgrade Go to 1.22 until upstream supports 1.23

Fixes #348922.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg 2024-10-15 16:38:17 -07:00 committed by zowoq
parent fc5fcd5ff4
commit aa1c556c89
2 changed files with 1 additions and 5 deletions

View File

@ -156,11 +156,6 @@ buildGoModule rec {
# Reduce closure size for client machines
outputs = [ "out" "client" ];
prePatch = ''
# TODO: remove after https://github.com/NixOS/nixpkgs/pull/332852 merges
sed -i 's/go 1.22.6/go 1.22.5/' go.mod
'';
preBuild = ''
cp -r ${webassets} webassets
'' + lib.optionalString withRdpClient ''

View File

@ -12743,6 +12743,7 @@ with pkgs;
inherit (callPackages ../servers/teleport {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security AppKit;
buildGoModule = buildGo122Module;
}) teleport_15 teleport_16 teleport;
telepresence = callPackage ../tools/networking/telepresence {