Skip to content

swift: 5.10.1 -> 6.2.4 - #557896

Merged
reckenrode merged 100 commits into
NixOS:stagingfrom
reckenrode:swift-6.2-update
Sep 16, 2026
Merged

reckenrode merged 100 commits into
NixOS:stagingfrom
reckenrode:swift-6.2-update

Conversation

@reckenrode

Copy link
Copy Markdown
Contributor

This has been a long time coming. I seem to have a knack for volunteering to do big rewrites (the Darwin stdenv, the SDK, and now Swift). 😅

I apologize this took so long. As I discussed on Bluesky, it was a cycle of burnout and long cycles. However, it’s ready, and the foundation is set to make Swift easier to use in Nixpkgs and easier to update and maintain.

I want to thank everyone who joined https://matrix.to/#/%23nixpkgs-swift:matrix.org as well as here and on Discourse who tested, reviewed, and/or provided feedback (@jen20, @booxter, and others). I also want to thank and @lucasly-ba in particular for demonstrating that it is possible to build Swift from an usptream toolchain using a sysroot even if that turned out not to have the right set of trade-offs for building Swift in Nixpkgs.

And now for the changes themselves …

This PR is a rewrite of the Swift packaging and an update of Swift to Swift 6.2.4. It replaces the single compiler derivation that builds LLVM and Swift together with several that build everything separately. The Swift LLVM fork leverages the LLVM packaging already done in Nixpkgs. The Swift bootstrap is now implemented in Nix. The stdlib has been split out into its own package. It should interact with Nixpkgs tooling much better than before.

For the most part, it is compatible with the old Swift packaging except as noted in the packaging changes listed below.

https://www.swift.org/blog/announcing-swift-6/
https://www.swift.org/blog/swift-6.1-released/
https://www.swift.org/blog/swift-6.2-released/

Note: This PR has a large number of changes because I wanted to land each part of the rewrite as it is needed, but I also did not want to break eval or existing builds. Until 0c7f9f2, the default Swift is 5.10.1. I confirmed every commit evals using the following jj run invocation. It took a while, but it confirmed no evaluation errors. I confirmed that new packages built by doing jj new <change-id> and then manually nix building them.

$ jj run --jobs 4 --clean --root --ignore-changes -r [email protected] -- nix-build ci -A eval.baseline --no-out-link --arg evalSystems '["aarch64-darwin" "aarch64-linux" "x86_64-linux"]' --system x86_64-linux

Changes to packaging

  • swiftPackages.swift is now a Swift toolchain. It is no longer wrapped. This is a breaking change, but it’s likely not one that most packages will notice.
  • swiftPackages.swift now has (more) tests. Yay, tests!
  • Packages for Dispatch, Foundation, and XCTest have been moved to their upstream names. The old names are available as aliases. Cleanup was done to prevent warnings (and eval failures in CI) in Nixpkgs.
  • The Swift stdlib is now available as swiftPackages.stdlib. The stubs and modules have been removed from the Darwin SDKs. To build Swift applications, you must use the stdlib package, which is part of the toolchain.
  • It is no longer necessary to use a custom stdenv when building Swift packages. This was a common footgun. The default stdenv will just work because Swift finds and uses clang in the toolchain.
  • Swift is bootstrapped in Nix. This is because (as noted in the commit messages) the bootstrap build doesn’t work on Darwin, but it also prepares for using the Swift 6.2 compiler to bootstrap subsequent versions of Swift.
  • A fetchSwiftPMDeps FOD has been added to make packaging Swift dependencies a lot easier. In most cases, you don’t have to do anything. Just add it to your package, and the dependencies will be made available.

Other than age-plugin-se, which used a custom vendoring method, I did not convert any packages outside of the Swift package set to use fetchSwiftPMDeps. swiftpm2nix is still supported and works. It was updated to use the same vendoring method as fetchSwiftPMDeps. Maintainers who would prefer to use fetchSwiftPMDeps can update their packages accordingly once this is merged.

Limitations

  • Cross-compilation is not implemented. It’s also not currently implemented, so this is not a regression.
  • Some Darwin frameworks require macro dylibs shipped with Xcode. These are not available. Notable users are AppleIntelligence, Swift Data, and SwiftUI in the 27.0 SDK (not available yet in Nixpkgs, but it will be soon).
  • I have included a patch to build libdispatch on Musl, but Swift assumes that Musl is static, which is not true in Nixpkgs. Work will be required to support Musl as a non-static platform.

Future directions

Fixes/closes

Things done

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/swift-6-coming-soon/55447/21

@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: 101-500 This PR causes between 101 and 500 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. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 8.has: changelog This PR adds or changes release notes 6.topic: lib The Nixpkgs function library 6.topic: dotnet Language: .NET 6.topic: teams Relating to team creation, updates, other management actions labels Aug 30, 2026
@nixpkgs-ci nixpkgs-ci Bot added the 8.has: documentation This PR adds or changes documentation label Aug 30, 2026
@reckenrode reckenrode mentioned this pull request Aug 30, 2026
7 of 13 tasks
Comment thread pkgs/top-level/swift-packages.nix Resolved
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 30, 2026
@reckenrode
reckenrode force-pushed the swift-6.2-update branch 2 times, most recently from 732c845 to a5985da Compare August 30, 2026 11:04

@booxter booxter left a comment

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.

This is impressive work. Love the split of the branch. A lot of it is, frankly, over my head (around bootstrap and such), but I think I found a few bugs on the edges worth taking a look.

So far I was able to build linux swift only (I have relatively weak darwin fleet so I'll have darwin available for me to poke at tomorrow only). So this is very limited look at the actual output.

Also, since you put so much effort into making each commit independently consistent and non-breaking, maybe you'd want to squash those two:

19bb29ce9cc1 swiftPackages_ng: rename to swiftPackages
d2d356b7caac swiftPackages: delete Swift 5.10.1 package set

Since d2d356b7caac breaks the tree; which is then restored to normal by 19bb29ce9cc1.

let
# The Swift build system expects to link statically against LLVM. Trying to link to the `libLLVM` shared
# library causes `swift-frontend` to crash during the build on Linux.
staticLibllvm = prev.libllvm.override { enableSharedLibraries = false; };

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.

There's probably nothing to do about it, but I will note that it was a bit surprising to see a 15GB+ derivation being pulled for clang. (Most of it is debug.) I assume that's expected.

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.

The debug symbols are huge. I don’t know how this can be reduced in size, unfortunately. The Swift build on Linux crashes in LLVM assertions when LLVM is dynamically linked.

)

target_link_libraries(FoundationEssentials INTERFACE
_FoundationICU

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.

So I've asked a llm to validate these cmake files: generate linux derivations that rely on them and confirm that they build / link. Here's one that fails:

{ system ? "x86_64-linux" }:

let
  pkgs = import ../. { inherit system; };
  swiftPackages = pkgs.swiftPackages;

  cmakeLists = pkgs.writeText "CMakeLists.txt" ''
    cmake_minimum_required(VERSION 3.26)
    project(FoundationEssentialsReproducer LANGUAGES Swift)

    find_package(SwiftFoundation CONFIG REQUIRED)

    add_executable(reproducer main.swift)
    target_link_libraries(reproducer PRIVATE FoundationEssentials)
  '';

  swiftSource = pkgs.writeText "main.swift" ''
    import FoundationEssentials

    let url = URL(string: "https://example.invalid/swift-6.2")!
    print(url.absoluteString)
  '';
in
pkgs.stdenv.mkDerivation {
  pname = "foundation-essentials-cmake-reproducer";
  version = "0";

  dontUnpack = true;

  nativeBuildInputs = [
    pkgs.cmake
    pkgs.ninja
    swiftPackages.swift
  ];

  buildInputs = [
    swiftPackages.swift-collections
    swiftPackages.swift-foundation-icu
    swiftPackages.swift-foundation
  ];

  configurePhase = ''
    runHook preConfigure
    mkdir source build
    cp ${cmakeLists} source/CMakeLists.txt
    cp ${swiftSource} source/main.swift
    cmake -S source -B build -G Ninja
    runHook postConfigure
  '';

  buildPhase = ''
    runHook preBuild
    cmake --build build --verbose
    runHook postBuild
  '';

  installPhase = ''
    mkdir -p "$out/bin"
    cp build/reproducer "$out/bin/"
  '';
}

log:

Running phase: configurePhase
-- The Swift compiler identification is Apple 6.2.4
-- Check for working Swift compiler: /nix/store/2wixmzgbg0nh5ir6y5ipc86y4cndd8g3-swift-6.2.4/bin/swiftc
-- Check for working Swift compiler: /nix/store/2wixmzgbg0nh5ir6y5ipc86y4cndd8g3-swift-6.2.4/bin/swiftc - works
CMake Warning at /nix/store/bdm8wbfjhd42xxx1r4b133p1i0gq2kky-swift-foundation-6.2.4-dev/lib/cmake/SwiftFoundation/SwiftFoundationConfig.cmake:12 (find_package):
  By not providing "Find_FoundationICU.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "_FoundationICU", but CMake did not find one.

  Could not find a package configuration file provided by "_FoundationICU"
  with any of the following names:

    _FoundationICU.cps
    _foundationicu.cps
    _FoundationICUConfig.cmake
    _foundationicu-config.cmake

  Add the installation prefix of "_FoundationICU" to CMAKE_PREFIX_PATH or set
  "_FoundationICU_DIR" to a directory containing one of the above files.  If
  "_FoundationICU" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:4 (find_package)


-- Configuring done (1.0s)
-- Generating done (0.0s)
-- Build files have been written to: /build/build
Running phase: buildPhase
Change Dir: '/build/build'

Run Build Command(s): /nix/store/6ji6bq0si2j8ibdrxqgcmh1cw0wmdiyk-ninja-1.13.2/bin/ninja -v
[1/1] : && /nix/store/2wixmzgbg0nh5ir6y5ipc86y4cndd8g3-swift-6.2.4/bin/swiftc -j 32 -num-threads 32 -emit-executable -o reproducer -emit-dependencies  -output-file-map CMakeFiles/reproducer.dir//output-file-map.json -I /nix/store/bdm8wbfjhd42xxx1r4b133p1i0gq2kky-swift-foundation-6.2.4-dev/lib/swift -I /nix/store/bdm8wbfjhd42xxx1r4b133p1i0gq2kky-swift-foundation-6.2.4-dev/lib/swift/linux /build/source/main.swift  -L /nix/store/ifrjb0yyk5xfw307k2ij2mzxjxfiz7bj-swift-foundation-6.2.4/lib -Xlinker -rpath -Xlinker /nix/store/ifrjb0yyk5xfw307k2ij2mzxjxfiz7bj-swift-foundation-6.2.4/lib  /nix/store/ifrjb0yyk5xfw307k2ij2mzxjxfiz7bj-swift-foundation-6.2.4/lib/libFoundationEssentials.so  -l_FoundationICU && :
FAILED: [code=1] reproducer CMakeFiles/reproducer.dir/main.swift.o
: && /nix/store/2wixmzgbg0nh5ir6y5ipc86y4cndd8g3-swift-6.2.4/bin/swiftc -j 32 -num-threads 32 -emit-executable -o reproducer -emit-dependencies  -output-file-map CMakeFiles/reproducer.dir//output-file-map.json -I /nix/store/bdm8wbfjhd42xxx1r4b133p1i0gq2kky-swift-foundation-6.2.4-dev/lib/swift -I /nix/store/bdm8wbfjhd42xxx1r4b133p1i0gq2kky-swift-foundation-6.2.4-dev/lib/swift/linux /build/source/main.swift  -L /nix/store/ifrjb0yyk5xfw307k2ij2mzxjxfiz7bj-swift-foundation-6.2.4/lib -Xlinker -rpath -Xlinker /nix/store/ifrjb0yyk5xfw307k2ij2mzxjxfiz7bj-swift-foundation-6.2.4/lib  /nix/store/ifrjb0yyk5xfw307k2ij2mzxjxfiz7bj-swift-foundation-6.2.4/lib/libFoundationEssentials.so  -l_FoundationICU && :
error: link command failed with exit code 1 (use -v to see invocation)
/nix/store/5pa1282x1sasbwhmnah6bny1g9pc2lj1-binutils-2.46/bin/ld.bfd: cannot find -l_FoundationICU: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

How are these files produced? Are they supposed to match some upstream source files? (Wonder if there's a way to sync them.) Perhaps we need some test cases that would build a test program via cmake and confirm the result is legit?

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.

How are these files produced? Are they supposed to match some upstream source files?

Upstream assumes that you are building everything next to each other. These were hand-written to provide enough glue to build the Swift toolchain because the upstream files are not really suitable for our purpose.

I can look at fixing this one when I have time later tonight or tomorrow, but it’s not really intended for packages outside the toolchain to use these. There’s no way to stop people from doing that short of removing the packages from the package set, which I’d rather not do if possible.

@reckenrode

Copy link
Copy Markdown
Contributor Author

I’ll look at the others later when I have time tonight or tomorrow. During my work on adding 6.3.3, I found a bug in the definition of mkBootstrapSwiftPackages: swift_version should be swift_release. It doesn’t matter for 6.2.4 (because it’s not used), but I want to fix it here. I plan to push that when I address the other issues.

Also, since you put so much effort into making each commit independently consistent and non-breaking, maybe you'd want to squash those two:

19bb29ce9cc1 swiftPackages_ng: rename to swiftPackages
d2d356b7caac swiftPackages: delete Swift 5.10.1 package set

Since d2d356b7caac breaks the tree; which is then restored to normal by 19bb29ce9cc1.

I had removed all references to swiftPackages before doing the deletion, so it shouldn’t have broken the tree. However, #552881 was merged last week, which added another reference to it. I’ll add a fix for that package as well.

@booxter

booxter commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

I was building this series (ported to staging-next - though probably it didn't help with the rebuilds... anyway) for darwin and the build failed as: (nix log /nix/store/g04ff4vws0vfhayf7ng27rqw4fkxl0hh-swiftc-6.2.4.drv)

installPhase completed in 8 minutes 18 seconds
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
[...]
'../include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/MemoryBuffer.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/MemoryBuffer.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/FileOutputBuffer.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/FileOutputBuffer.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Error.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Error.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/ExternC.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/ExternC.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Types.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Types.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/DataTypes.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/DataTypes.h'
'../include/swift/Markup/SimpleFields.def' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/SimpleFields.def'
'../include/swift/Markup/SourceLoc.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/SourceLoc.h'
'../include/swift/Markup/Markup.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/Markup.h'
'../include/swift/Markup/LineList.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/LineList.h'
'../include/swift/Markup/XMLUtils.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/XMLUtils.h'
'../include/swift/Markup/AST.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/AST.h'
'../include/swift/Markup/ASTNodes.def' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/ASTNodes.def'
'../include/swift/RemoteAST/RemoteAST.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteAST/RemoteAST.h'
mkdir: cannot create directory '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Bridging': File exists

Not sure what it means.

@reckenrode
reckenrode force-pushed the swift-6.2-update branch 3 times, most recently from 2e4d056 to d5fa3c4 Compare September 2, 2026 11:20
@reckenrode

Copy link
Copy Markdown
Contributor Author

@booxter I believe I’ve addressed all of your feedback. Thank you!

I was building this series (ported to staging-next - though probably it didn't help with the rebuilds... anyway) for darwin and the build failed as: (nix log /nix/store/g04ff4vws0vfhayf7ng27rqw4fkxl0hh-swiftc-6.2.4.drv)

installPhase completed in 8 minutes 18 seconds
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
[...]
'../include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/MemoryBuffer.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/MemoryBuffer.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/FileOutputBuffer.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm/Support/FileOutputBuffer.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Error.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Error.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/ExternC.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/ExternC.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Types.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/Types.h'
'../include/swift/RemoteInspection/RuntimeHeaders/llvm-c/DataTypes.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteInspection/RuntimeHeaders/llvm-c/DataTypes.h'
'../include/swift/Markup/SimpleFields.def' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/SimpleFields.def'
'../include/swift/Markup/SourceLoc.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/SourceLoc.h'
'../include/swift/Markup/Markup.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/Markup.h'
'../include/swift/Markup/LineList.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/LineList.h'
'../include/swift/Markup/XMLUtils.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/XMLUtils.h'
'../include/swift/Markup/AST.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/AST.h'
'../include/swift/Markup/ASTNodes.def' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Markup/ASTNodes.def'
'../include/swift/RemoteAST/RemoteAST.h' -> '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/RemoteAST/RemoteAST.h'
mkdir: cannot create directory '/nix/store/36kvgbcq154qsv6r8xqlg12m0pnvykg1-swiftc-6.2.4-static/include/swift/Bridging': File exists

Not sure what it means.

Is your store case-sensitive or case-insensitive? Mine is case-sensitive, I see the following when I check the contents of swift^static.

include/swift/bridging
include/swift/Bridging

I’m already using mkdir -p, so I don’t know why this is failing. I’ve tried changing how I copy the file to specify the full target path with name (instead of just the directory name), but I’m not really able to test it.

@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Sep 16, 2026
@reckenrode

Copy link
Copy Markdown
Contributor Author

Let’s merge this thing and make way for Swift 6.3.3.

@reckenrode
reckenrode added this pull request to the merge queue Sep 16, 2026
Merged via the queue into NixOS:staging with commit f467180 Sep 16, 2026
26 checks passed
@reckenrode
reckenrode deleted the swift-6.2-update branch September 16, 2026 20:22
@trofi

trofi commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

lib.warnOnInstantiate does not work on non-derivation attributes, causes eval failures on staging. Proposed a possible fix as:

@reckenrode reckenrode mentioned this pull request Sep 22, 2026
6 of 13 tasks
@vcunat

vcunat commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

5776a35 darwin.ICU: add Linux as a supported platform

It doesn't seem to build, though: https://hydra.nixos.org/build/346563481/step/3/log/tail
(just FYI, noticed among larger failures in terms of job count getting blocked)

@reckenrode

Copy link
Copy Markdown
Contributor Author

5776a35 darwin.ICU: add Linux as a supported platform

It doesn't seem to build, though: https://hydra.nixos.org/build/346563481/step/3/log/tail (just FYI, noticed among larger failures in terms of job count getting blocked)

Huh. That’s interesting. It was building at the time this merged, and my Swift 6.3.3 and Swift 6.4 branches are building on staging as of this Sunday morning. Was there a Glibc bump in the last few days?

Oh. #557451 was merged yesterday. That’s probably it. I’ll work on a patch.

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574/146

@libewa

libewa commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

According to https://nixpk.gs/pr-tracker.html?pr=557896, this PR has finally landed in unstable! Thank you so much for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: dotnet Language: .NET 6.topic: lib The Nixpkgs function library 6.topic: teams Relating to team creation, updates, other management actions 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 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-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

Status: ✅ Done
Status: Done

Development

Successfully merging this pull request may close these issues.

9 participants