From ba32eefdc8acdd5e61bd2cdd63d279d0fe51848c Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Thu, 6 Aug 2026 19:56:05 -0400 Subject: [PATCH] swiftPackages_ng.swift-minimal: init MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every package in the Swift package set uses the Swift toolchain to build, but obviously they can’t use a toolchain that includes themselves. That would result in circular dependencies. Note: This is a private helper. Packages outside of the Swift package set should always use the full Swift toolchain when building. --- pkgs/top-level/swift-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/swift-packages.nix b/pkgs/top-level/swift-packages.nix index 97098af645b0..9e1262f3d320 100644 --- a/pkgs/top-level/swift-packages.nix +++ b/pkgs/top-level/swift-packages.nix @@ -73,6 +73,10 @@ makeScopeWithSplicing' { llvmPackages_upstream = llvmPackages; + swift-minimal = self.swift.override { + swift-corelibs-libdispatch = null; + }; + swift_sources = swift_sources_6_2; }; f = lib.extends autoCalledPackages (self: {