Skip to content

terminal-notifier: fix darwin build - #541326

Merged
Mic92 merged 1 commit into
NixOS:masterfrom
ofalvai:push-zlzxurwypmlx
Jul 13, 2026
Merged

Mic92 merged 1 commit into
NixOS:masterfrom
ofalvai:push-zlzxurwypmlx

Conversation

@ofalvai

@ofalvai ofalvai commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Context: #536365

Things done

@ofalvai
ofalvai force-pushed the push-zlzxurwypmlx branch from 8cc6271 to 1f1964a Compare July 13, 2026 06:21
@ofalvai ofalvai mentioned this pull request Jul 13, 2026
2 of 13 tasks
@nixpkgs-ci
nixpkgs-ci Bot requested a review from amarshall July 13, 2026 06:27
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jul 13, 2026
@Mic92
Mic92 added this pull request to the merge queue Jul 13, 2026
Merged via the queue into NixOS:master with commit ca912fd Jul 13, 2026
25 checks passed
yzx9 added a commit to yzx9/nix-config that referenced this pull request Jul 14, 2026
Backport of NixOS/nixpkgs#541326. The cctools `ld` shipped with our
nixpkgs pin traps (exit 133, Trace/BPT trap) when linking the
terminal-notifier bundle, so the build fails outright. Switching the
linker to `lld` via `-fuse-ld=lld` (and adding `llvmPackages.lld` to
nativeBuildInputs) fixes it. terminal-notifier is darwin-only, so the
overlay is gated on isDarwin.

Verified: base build fails (ld trap); with the overlay it builds to a
valid Mach-O arm64 binary.

Assisted-by: Claude-Code:GLM-5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants