Commit Graph

17 Commits

Author SHA1 Message Date
2kybe3
e9a44549b9 treewide: follow some GitHub redirects for fetchFromGitHub
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect

continuation of: #548162
2026-08-01 23:56:32 +02:00
Aaron Jheng
a8e4970af6 swift-format: add shell completions support
Add shell completions for bash, zsh, and fish using
swift-format's built-in --generate-completion-script flag.
2026-04-03 10:46:54 +08:00
Sam
19d240b619 swiftPackages.{sourcekit-lsp,swift-format}: link libdispatch.so
In my experience this solution seems to be necessary on almost all if
not all Swift packages on Linux
2025-10-11 14:47:33 -07:00
Sam
d8754b1b0a swiftPackages.{sourcekit-lsp,swift-format}: drop upstreamed patches
I'm grouping this together because it's the same patch
2025-10-11 14:47:33 -07:00
Sam
c221712e43 swiftPackages.*: update generated SwiftPM dependencies
This includes adding new dependencies when appropriate
2025-10-10 19:51:06 -07:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Fernando Rodrigues
05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Anderson Torres
7246208bc7 treewide: update meta.maintainers for Swift suite 2024-07-17 23:34:16 -03:00
Anderson Torres
2a9a026118 treewide: add lib.teams.swift.members to Swift suite 2024-07-17 23:34:16 -03:00
Anderson Torres
c9f7d60011 treewide: remove dtzWill as maintainer [no orphans]
Since theey is not active in a long span of time.

None of the packages in this commit are orphan.

All the packages listed here are related to Swift programming language compiler
suite.
2024-07-17 23:34:16 -03:00
Maximilian Bosch
2dcdf60272 swift: fix build w/ glibc-2.39
Failing Hydra build: https://hydra.nixos.org/build/249763077/nixlog/12

The problem is that glibc commit
64b1a44183a3094672ed304532bedb9acc707554 marked the `FILE*` argument of a few
functions including `fread` & `ferror` as non-null. The applied patch
("Android: add better nullability checks for nullability annotations added in NDK 26")
is targeted for the Android platform, but fixes said issue as well: the
handle returned from `fopen` is of type `Optional<T>` and the `guard`
expression unwraps that now (and throws an exception if `nil` is
returned). The previous `nil`-check didn't modify the type of `fp`, but
only raised the exception and moved on with `Optional<T>`.

It's a little sad that the patch needs to be applied at so many places,
but I guess that's what you get with language-level package managers 🤷
Also, seems good-enough to me given that it's actually temporary, the
patch is already upstream and will probably be obsolete at one of the
next Swift updates.
2024-03-02 19:01:51 +01:00
Weijia Wang
a291d04a15 Merge pull request #269015 from paveloom/swiftpm
swift: force-unwrap file handles in `swift-tools-support-core`
2024-01-13 22:47:23 +01:00
Pavel Sobolev
92e04e12ca swift-format: force-unwrap file handles in swift-tools-support-core 2024-01-12 19:30:33 +00:00
zimbatm
19ea7859af swift-format: add meta.mainProgram 2024-01-02 22:20:19 +01:00
figsoda
34233107b9 swift-format: convert swiftpmFlags to a list 2023-05-29 20:15:20 -04:00
Stéphan Kochen
1f5b379683 swift-format: init at 5.8 2023-05-06 19:40:08 +02:00