Skip to content

xtool: init at 1.24.0 - #548520

Merged
reckenrode merged 6 commits into
NixOS:masterfrom
ap-1:xadi-init
Nov 18, 2026
Merged

reckenrode merged 6 commits into
NixOS:masterfrom
ap-1:xadi-init

Conversation

@ap-1

@ap-1 ap-1 commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Adds xtool, a cross-platform Xcode replacement for building and deploying iOS apps, and a programs.xtool module that enables usbmuxd.

Supersedes #420696

Things done

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (new) This PR adds a new package 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Aug 2, 2026

@TomaSajt TomaSajt 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.

LGTM

Was able to regenerate dub-lock.json with the newly merged changes.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Aug 2, 2026
@reckenrode

Copy link
Copy Markdown
Contributor

The intended consumer is xtool, which links xadi on Linux to generate anisette data for Apple ID login. xtool needs the Swift 6.3 toolchain (#343210), so it can't be packaged yet.

I see they’re building with 6.3 in CI, but xtool’s Package.swift only lists 6.0 as the requirement. The Swift 6 update should be coming soon (see: #557896). It’s 6.2.4, but I will be adding 6.3 after it’s merged.

@kabiroberai

Copy link
Copy Markdown

xtool maintainer here, can confirm it builds fine with Swift 6.2 (albeit somewhat incidentally, since indeed I'm not testing 6.2 on CI right now). I was going to up the swift-tools-version to 6.3 but will hold off until Nix updates from 6.2.4 -> 6.3. Excited to see this, thanks for the work @ap-1!

@nixpkgs-ci nixpkgs-ci Bot added the 7.no default reviewers This PR targets a package or module with no existing maintainers; roving reviewers, take pity! label Sep 24, 2026
@ap-1 ap-1 changed the title xadi: init at 0-unstable-2025-06-07 xadi: init at 0.4.1 Oct 1, 2026
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. and removed 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. labels Oct 1, 2026
@ap-1 ap-1 changed the title xadi: init at 0.4.1 xtool: init at 1.20.1 Oct 1, 2026

@nixpkgs-ci nixpkgs-ci Bot 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.

Thanks for contributing to the documentation.

Follow the documentation style guide, especially:

  • Show, don’t tell. Start with a minimal working example. Explain after the code.
  • Avoid meta-commentary. Don’t write "This section explains how to…".
  • Use present tense, imperative mood, and active voice. For example: "Run the command," not "The user should run the following command."
  • Avoid vague references like "this" when the referent is unclear. Write "This command creates a folder," not "This will create a folder."
  • Be direct. Avoid "should", "might", "typically", and "usually".
  • Cut filler words like "simply", "just", "easily", and "basically". Use "to" instead of "in order to".

For larger changes, such as adding or removing whole sections, ask the NixOS documentation team for review.

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: documentation This PR adds or changes documentation and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Oct 1, 2026
@ap-1

ap-1 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 548520 --tests
Commit: 493896b014dfbcd3c591a93dc75ce8cf2a318856


x86_64-linux

⏩ 2 packages marked as broken and skipped:
  • nixos-install-tools.tests.nixos-tests.switchFromByAttrToFlake
  • nixos-install-tools.tests.nixos-tests.switchToByAttr
⏩ 39 packages blacklisted:
  • nixos-install-tools.tests.nixos-install-help
  • nixos-install-tools
  • nixos-install-tools.tests.nixos-tests.bcachefsEncrypted
  • nixos-install-tools.tests.nixos-tests.bcache
  • nixos-install-tools.tests.nixos-tests.bcachefsMulti
  • nixos-install-tools.tests.nixos-tests.bcachefsSimple
  • nixos-install-tools.tests.nixos-tests.btrfsSubvolDefault
  • nixos-install-tools.tests.nixos-tests.btrfsSimple
  • nixos-install-tools.tests.nixos-tests.btrfsSubvolEscape
  • nixos-install-tools.tests.nixos-tests.btrfsSubvols
  • nixos-install-tools.tests.nixos-tests.clevisBcachefs
  • nixos-install-tools.tests.nixos-tests.clevisBcachefsFallback
  • nixos-install-tools.tests.nixos-tests.clevisLuks
  • nixos-install-tools.tests.nixos-tests.clevisLuksFallback
  • nixos-install-tools.tests.nixos-tests.clevisZfs
  • nixos-install-tools.tests.nixos-tests.clevisZfsFallback
  • nixos-install-tools.tests.nixos-tests.clevisZfsParentDataset
  • nixos-install-tools.tests.nixos-tests.encryptedFSWithKeyfile
  • nixos-install-tools.tests.nixos-tests.fullDiskEncryption
  • nixos-install-tools.tests.nixos-tests.clevisZfsParentDatasetFallback
  • nixos-install-tools.tests.nixos-tests.grubCryptodiskLegacyBios
  • nixos-install-tools.tests.nixos-tests.luksroot-format1
  • nixos-install-tools.tests.nixos-tests.luksroot
  • nixos-install-tools.tests.nixos-tests.lvm
  • nixos-install-tools.tests.nixos-tests.luksroot-format2
  • nixos-install-tools.tests.nixos-tests.separateBoot
  • nixos-install-tools.tests.nixos-tests.separateBootFat
  • nixos-install-tools.tests.nixos-tests.separateBootZfs
  • nixos-install-tools.tests.nixos-tests.simple
  • nixos-install-tools.tests.nixos-tests.simpleLabels
  • nixos-install-tools.tests.nixos-tests.simpleProvided
  • nixos-install-tools.tests.nixos-tests.simpleSpecialised
  • nixos-install-tools.tests.nixos-tests.simpleUefiGrub
  • nixos-install-tools.tests.nixos-tests.swraid
  • nixos-install-tools.tests.nixos-tests.switchToFlake
  • nixos-install-tools.tests.nixos-tests.simpleUefiGrubSpecialisation
  • nixos-install-tools.tests.nixos-tests.simpleUefiSystemdBoot
  • nixos-install-tools.tests.nixos-tests.zfsroot
  • tests.nixos-functions.nixos-test
✅ 2 packages built:
  • xtool
  • xadi

aarch64-darwin

✅ 2 packages built:
  • xadi
  • xtool

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 3, 2026
@asymmetric

Copy link
Copy Markdown
Contributor

@ap-1 what's holding this back, besides the docs conflict?

@asymmetric

Copy link
Copy Markdown
Contributor

Oh I see, staging-next already has 6.4.0, so it makes sense to wait until #574002 has landed on master, and then retarget this against master -- right?

@reckenrode

Copy link
Copy Markdown
Contributor

Swift 6.4 is on master now.

@DimitarNestorov

Copy link
Copy Markdown
Member

Also xtool-org/xtool#381 is released in 1.24.0 and master has Xcode 27.1 and 27.2.

@ap-1 ap-1 changed the title xtool: init at 1.23.0 xtool: init at 1.24.0 Nov 8, 2026
@ap-1
ap-1 changed the base branch from staging to master November 8, 2026 13:05
@nixpkgs-ci nixpkgs-ci Bot closed this Nov 8, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Nov 8, 2026
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Nov 8, 2026
@DimitarNestorov

This comment was marked as outdated.

Comment thread pkgs/by-name/xt/xtool/sdk.nix Resolved
Comment thread pkgs/by-name/xt/xtool/package.nix Resolved
@reckenrode

Copy link
Copy Markdown
Contributor

This looks good. I’d like to see tests enabled unconditionally. Once that’s done, it’s ready to merge.

#574002 updated the hook to work on Darwin. I’d like to enable tests where we can so that when people (or their tools) look at how Swift applications are packaged, they also enable tests on Darwin.

@DimitarNestorov

Copy link
Copy Markdown
Member

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (272fbe1)

Command: nixpkgs-review pr 548520
Commit: 619cca8e8e8840df58cdf155f7ce7efc0c4afa05 (subsequent changes)
Merge: 8c105b7d37b4890433cd59758b1d0784f6e297f3

Logs: https://github.com/DimitarNestorov/nixpkgs-review-gha/actions/runs/43813144342/attempts/1

Download packages from cache:
  • x86_64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://dimitar.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        dimitar.cachix.org-1:y+vnGLwTFoGipOScJFDZZxA1F+dvx45Gz6mTx8m1eEk=
      ' \
      /nix/store/304107plsg75yg8h160qxc1kngwrq96g-nixpkgs-manual-26.11 \
      /nix/store/ymzfaip2khl98y1gbg88dg3fw6paf1x1-open-apple-macros-1.4.1 \
      /nix/store/kymjg3mzrj7pdlg5qly2clx9zyvjnpvw-xtool-1.24.0
  • aarch64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://dimitar.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        dimitar.cachix.org-1:y+vnGLwTFoGipOScJFDZZxA1F+dvx45Gz6mTx8m1eEk=
      ' \
      /nix/store/fgv5amaflvwvghpd18cid0ivi7ajqkvr-xtool-1.24.0 \
      /nix/store/d7fhl6c5zn3hpn9jjfcx2rzs58qrsypj-nixpkgs-manual-26.11 \
      /nix/store/4fi8rkf8q5v9qpqrrsx8524ya58fw1g2-open-apple-macros-1.4.1
  • aarch64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://dimitar.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        dimitar.cachix.org-1:y+vnGLwTFoGipOScJFDZZxA1F+dvx45Gz6mTx8m1eEk=
      ' \
      /nix/store/lmhchv9isianspwvkj34h069dxcb9xx0-nixpkgs-manual-26.11 \
      /nix/store/ingb2rqdc5pvbpj6b6jmv58prngvffjq-swipeaerospace-0.3.3 \
      /nix/store/s64wq34m8212p3ijg7al9dcmdfrbdsm0-handy-0.10.0 \
      /nix/store/llrm9z4fr3xrm2kyivmq8hn4zfr63ijk-xtool-1.24.0 \
      /nix/store/xw05rl7k4q4401xfig15qjyvf2dshgj6-open-apple-macros-1.4.1 \
      /nix/store/z51ykg3jsbjj1qb4cbpgfdp3a0pzfda1-rectangle-2.0.4

x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 3 packages built:
  • nixpkgs-manual
  • open-apple-macros
  • xtool

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 3 packages built:
  • nixpkgs-manual
  • open-apple-macros
  • xtool

aarch64-darwin (sandbox = true)

✅ 6 packages built:
  • handy
  • nixpkgs-manual
  • open-apple-macros
  • rectangle
  • swipeaerospace
  • xtool

@reckenrode reckenrode 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.

Thank you for your work packaging this! Looks good. I’m glad we got it in 26.11!

@reckenrode
reckenrode added this pull request to the merge queue Nov 18, 2026
Merged via the queue into NixOS:master with commit b8034f5 Nov 18, 2026
29 checks passed
@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/2026-11-25-documentation-team-meeting-notes/81426/1

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

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

8 participants