Skip to content

swift: 6.4.0 -> 6.4.2 - #577150

Merged
reckenrode merged 2 commits into
NixOS:stagingfrom
reckenrode:push-xqvkpxrxqlmt
Nov 6, 2026
Merged

reckenrode merged 2 commits into
NixOS:stagingfrom
reckenrode:push-xqvkpxrxqlmt

Conversation

@reckenrode

@reckenrode reckenrode commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

https://forums.swift.org/t/announcing-swift-6-4-1/90029
https://forums.swift.org/t/announcing-swift-6-4-2/90337

I confirmed all Swift-dependent packages built on Darwin except for .NET, which only needs to link the stdlib (and takes a long time to build).

Things done

nixpkgs-ci[bot]

This comment was marked as outdated.

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. 8.has: changelog This PR adds or changes release notes 6.topic: stdenv Standard environment labels Oct 22, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 8.has: documentation This PR adds or changes documentation label Oct 22, 2026
@reckenrode
reckenrode force-pushed the push-xqvkpxrxqlmt branch 3 times, most recently from 3e8abe6 to fa1c7ef Compare October 22, 2026 02:50
# Put the plugin server at the expected location.
''
declare -a supportedPlugins=(
FoundationModels

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
FoundationModels
FoundationModels
Previews

I think this might need Previews too? Without it, #Preview seems to fail with "plugin for module 'PreviewsMacros' not found".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left the Preview macros out because the comments at https://github.com/xtool-org/OpenAppleMacros/blob/main/Sources/PreviewsMacros/Macros.swift indicated most of the macros were just stubs, and we also have the darwin.xcode-macros package if you need the full macros. If what’s implemented is useful, they can be added in a new PR (since that commit was from #574002).


Nixpkgs includes the stdlib macros (ObservationMacros and SwiftMacros) and FoundationMacros in the toolchain.
Packages that need macros for Apple frameworks on Darwin have two options:
- `open-apple-macros` provides open-source implementations of FoundationModelsMacros and SwiftUIMacros; or

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `open-apple-macros` provides open-source implementations of FoundationModelsMacros and SwiftUIMacros; or
- `open-apple-macros` provides open-source implementations of FoundationModelsMacros, PreviewsMacros, and SwiftUIMacros; or

Maybe worth mentioning Previews here as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made both changes in #577170.

@reckenrode
reckenrode marked this pull request as ready for review October 22, 2026 03:18
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! and removed 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. 8.has: changelog This PR adds or changes release notes 6.topic: stdenv Standard environment labels Oct 22, 2026
@Samasaur1

Copy link
Copy Markdown
Member

Visually this looks good to me (finally an easy update!). I'm building on darwin to confirm. Side note that's unrelated to the actual changes: looks like no reviewers were automatically picked up by CI (and I see the 7.no default reviewers label). I wonder if there's a way to mark pkgs/development/compilers/swift/{sources.json,swift-version} as maintained by the Swift team

@reckenrode

Copy link
Copy Markdown
Contributor Author

I wonder if there's a way to mark pkgs/development/compilers/swift/{sources.json,swift-version} as maintained by the Swift team

Do we not have an actual GitHub team for the Swift team? If we did, presumably we could add the Swift path to ci/OWNERS.

@reckenrode

Copy link
Copy Markdown
Contributor Author

@Samasaur1 Was your build able to finish? It would be nice to get this into the next staging cycle. There aren’t any critical fixes, but there are some compiler crash and miscompilation fixes.

@reckenrode reckenrode changed the title swift: 6.4.0 -> 6.4.1 swift: 6.4.0 -> 6.4.2 Nov 5, 2026
@reckenrode

Copy link
Copy Markdown
Contributor Author

I added 6.4.2 to the PR. I’ve also built swift on both aarch64-linux (which needs #583385) and x86_64-linux.

@Samasaur1

Copy link
Copy Markdown
Member

It failed but I think it was my fault. I've triggered another just now. (Sorry I missed the ping last week, life has been hectic)

@Samasaur1

Copy link
Copy Markdown
Member

Hmm, no, still failing on python3.14-filelock-4.2.4. Not sure why this is happening.

@reckenrode

Copy link
Copy Markdown
Contributor Author

Hmm, no, still failing on python3.14-filelock-4.2.4. Not sure why this is happening.

filelock is one of a handful of Python packages (mypy is another) that I have to build by itself, or it is likely to fail in its check phase. I have no idea why.

@Samasaur1 Samasaur1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

built after a couple retries of the python dep

@reckenrode
reckenrode added this pull request to the merge queue Nov 6, 2026
Merged via the queue into NixOS:staging with commit 4589a4e Nov 6, 2026
30 checks passed
@reckenrode
reckenrode deleted the push-xqvkpxrxqlmt branch November 6, 2026 00:29
@github-project-automation github-project-automation Bot moved this to Done in Stdenv Nov 6, 2026
@Brian-ED Brian-ED mentioned this pull request Nov 6, 2026
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! 8.has: documentation This PR adds or changes documentation 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

Status: ✅ Done
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants