···1616let
1717 mergeInputs = name:
1818 (attrs.${name} or [ ]) ++
1919+ # 1. get all `{build,nativeBuild,...}Inputs` from the elements of `inputsFrom`
2020+ # 2. since that is a list of lists, `flatten` that into a regular list
2121+ # 3. filter out of the result everything that's in `inputsFrom` itself
2222+ # this leaves actual dependencies of the derivations in `inputsFrom`, but never the derivations themselves
1923 (lib.subtractLists inputsFrom (lib.flatten (lib.catAttrs name inputsFrom)));
20242125 rest = builtins.removeAttrs attrs [
···4040 swiftpmMakeMutable indexstore-db
4141 patch -p1 -d .build/checkouts/indexstore-db -i ${./patches/indexstore-db-macos-target.patch}
42424343+ swiftpmMakeMutable swift-tools-support-core
4444+ patch -p1 -d .build/checkouts/swift-tools-support-core -i ${./patches/force-unwrap-file-handles.patch}
4545+4346 # This toggles a section specific to Xcode XCTest, which doesn't work on
4447 # Darwin, where we also use swift-corelibs-xctest.
4548 substituteInPlace Sources/LSPTestSupport/PerfTestCase.swift \