Repository navigation
various: yet more ld64 hardening workarounds - #538151
Merged
Merged
Conversation
emilazy
force-pushed
the
push-tqrmnlttvwlv
branch
from
July 3, 2026 16:12
fb3a0e2 to
7a83e82
Compare
nixpkgs-ci
Bot
requested review from
FliegendeWurst,
K900,
LunNova,
NickCao,
Scrumplex,
SuperSandro2000,
alyssais,
doronbehar,
samuela,
veprbl and
wegank
July 3, 2026 16:20
Contributor
|
Just to help me understand better the context: What is the change you would have applied on |
Member
|
Nothing in the individual packages, I think, i.e. these commits will get reverted. |
Contributor
I see. Can we spot the changes made in |
Member
Author
|
I will revert these myself in #536365. |
Member
2 of 13 tasks
prismatic-koi
added a commit
to prismatic-koi/nixos-config
that referenced
this pull request
Jul 11, 2026
The nixpkgs staging-next merge on 2026-06-27 (flake bump d407951 -> 0bb7ec5 in #2380) shipped an ld64 hardening flag that breaks Objective-C / Cocoa-framework linking on aarch64-darwin. choose-gui builds via xcbuild and links Cocoa, so it fails at the final Ld step on m4mac CI. nixpkgs maintainers shipped ~15 per-package workarounds with the same shape (add llvmPackages.lld to nativeBuildInputs, set NIX_CFLAGS_LINK=-fuse-ld=lld); choose-gui did not get one upstream. Mirror the shape of the pyobjc-framework-Cocoa fix (NixOS/nixpkgs#538151) here. REMOVAL CONDITION: NixOS/nixpkgs#536365 ("ld64: disable hardening again") lands on staging and a subsequent flake bump picks up the reverted per-package workarounds. Failing CI run: https://github.com/prismatic-koi/nixos-config/actions/runs/29170146780 Co-authored-by: prismatic-koi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.