diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1ff9fa0fee89..d3c648bc6d29 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2148,7 +2148,7 @@ with pkgs; cloudflared = callPackage ../applications/networking/cloudflared { # https://github.com/cloudflare/cloudflared/issues/1151#issuecomment-1888819250 buildGoModule = buildGoModule.override { - go = go_1_22.overrideAttrs { + go = buildPackages.go_1_22.overrideAttrs { pname = "cloudflare-go"; version = "1.22.2-devel-cf"; src = fetchFromGitHub {