diff --git a/pkgs/os-specific/darwin/xcode/default.nix b/pkgs/os-specific/darwin/xcode/default.nix index 4cfc0874fcd0..46f6f03b90a7 100644 --- a/pkgs/os-specific/darwin/xcode/default.nix +++ b/pkgs/os-specific/darwin/xcode/default.nix @@ -17,7 +17,7 @@ let requireXcode = version: sha256: ''; app = requireFile rec { name = "Xcode.app"; - url = "https://download.developer.apple.com/Developer_Tools/Xcode_" + version + "/" + xip; + url = "https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_${version}/${xip}"; hashMode = "recursive"; inherit sha256; message = ''