swiftPackages_ng.swift-minimal: init

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.
This commit is contained in:
Randy Eckenrode
2026-08-06 19:56:05 -04:00
parent 246541b9f7
commit ba32eefdc8

View File

@@ -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: {