Skip to content

Commit

Permalink
teleport: Downgrade Go to 1.22 until upstream supports 1.23
Browse files Browse the repository at this point in the history
Fixes #348922.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk authored and zowoq committed Oct 23, 2024
1 parent fc5fcd5 commit aa1c556
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions pkgs/servers/teleport/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa1c556

Please sign in to comment.