Commit aa1c556c authored by Anders Kaseorg's avatar Anders Kaseorg Committed by zowoq
Browse files

teleport: Downgrade Go to 1.22 until upstream supports 1.23



Fixes #348922.

Signed-off-by: default avatarAnders Kaseorg <andersk@mit.edu>
parent fc5fcd5f
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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 ''
+1 −0
Original line number Diff line number Diff line
@@ -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 {