Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions modules/targets/darwin/copyapps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ in
)

run ${lib.getExe pkgs.rsync} "''${rsyncFlags[@]}" ${applications}/Applications/ "$targetFolder"

# Update the mtime on each app bundle. macOS 26.3 throws a code
# signing error when the value is 1 (rsync --archive preserves the
# time set by Nix). After the first launch, macOS caches the
# signatures.
for app in "$targetFolder/"*.app; do
[ -d "$app" ] && run touch "$app"
done
''
);
};
Expand Down
Loading