-
2026.09.22
StableAll checks were successfulci / nix flake check (push) Successful in 21sreleased this
2026-09-22 00:21:57 +09:00 | 0 commits to main since this releaseAdded
config.lib.appIdentity: the home-manager and nix-darwin modules now exposestabilizeAppandmkAppBundleasconfig.lib.appIdentity, so a module that owns a package option (e.g.programs.kitty.package) or a launchd agent can stabilize without callingpkgs.callPackage inputs.nix-mac-app-identity { }itself. Both routes build the same derivation. (b06b60b)
Fixed
- Wrapped executables (
makeBinaryWrapper): applications wrapped withmakeBinaryWrapper(such aspkgs.flameshotandpkgs.kitty) now retain their TCC permissions across rebuilds. Previously,Contents/MacOS/<app>was an entrypoint stub that executed an inner.app-wrappedbinary pointing to the original Nix store path, leaving the actual running executable unsigned and tied to a volatile store path. All Mach-O binaries underContents/MacOSare now signed with the bundle's designated requirement (identifier "<bundle-id>"). (598399b) - Internal store path references: references to the source derivation's store path in bundle wrapper scripts, text files, and Mach-O binaries are rewritten to the stabilized output path before signing. This prevents stabilized binaries and wrappers from executing or referencing code in the original unstabilized store path. (598399b)
- Duplicate binaries in
bin/: when a package provides a binary inbin/that duplicates one inContents/MacOS/, it is replaced with a relative symlink into the bundle rather than remaining an independent copy, ensuring both share the bundle's stable identity. (598399b)
Changed
- Derivation output naming: stabilized derivations now preserve the source package's store name (keeping paths equal in length for in-place Mach-O rewriting), with
pnameset to<name>-stable-identity. Standalone bundles generated bymkAppBundleare named<App>.app. (598399b) - Bundle validation: bundles containing directory symlinks inside
Contents/MacOS, symlinks into nested bundles, or filenames containing:or@are rejected at build time. Nested bundles (.plugin,.framework) retain their own bundle identifiers. (598399b)
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads