You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writting an application for Mac that is packaged using Nix. We need features SDK 10.14, namely setting the dark theme. Sadly, the provided Apple SDK is ancient, version 10.12. I notice that there is another issue #101229 trying to tackle this.
However, I've also noticed that SDK 11.0 is already provided fro AArch64 (I guess for new M1 Macs?). I have tried to use it on my my machine by doing directly:
Fixing re-exports in /nix/store/wfbgjyxfi6f6alds7x776im99w4cwjc2-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation.tbd
Errors occurred during rewrite of /nix/store/wfbgjyxfi6f6alds7x776im99w4cwjc2-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation.tbd
Rewrite config:
Exact mappings:
Prefix mappings:
- /System/Library/Frameworks/CoreFoundation.framework/ -> /nix/store/wfbgjyxfi6f6alds7x776im99w4cwjc2-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/
Required prefix: /nix/store
Check existence of resulting paths: yes
The following paths did not match any rewrite rule
/usr/lib/libobjc.A.dylib
libc++abi.dylib: terminating with uncaught exception of type rewrite_errors: Rewriting failed
/nix/store/gwwzsi23mliqi2d70klrcy6xx53pphzp-stdenv-darwin/setup: line 1336: 1912 Abort trap: 6 rewrite-tbd -p /System/Library/Frameworks/CoreFoundation.framework/:$out/Library/Frameworks/CoreFoundation.framework/ -r /nix/store "$tbd"
builder for '/nix/store/ayinqb5wwn6xsibd4dwc43dwr12827zd-apple-framework-CoreFoundation-11.0.0.drv' failed with exit code 134
building '/nix/store/kifg6y51p2fbjh6qjl35nyb9v4aambgr-apple-framework-CoreImage-11.0.0.drv'...
cannot build derivation '/nix/store/f9q9qg05pizb9r05jrqavnimb4j7n8zj-apple-framework-CoreServices-11.0.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/75h9dnjjfk3aq1cx4jjj60zlhj0yq78s-apple-framework-AppKit-11.0.0.drv', '/nix/store/8nhl31v120g0l38p9wa4v7acrcbznnxr-apple-framework-Cocoa-11.0.0.drv', '/nix/store/f9q9qg05pizb9r05jrqavnimb4j7n8zj-apple-framework-CoreServices-11.0.0.drv', '/nix/store/fk7n2x1hihpgc07yqszxfnj9jg8h4gk9-apple-framework-CoreAudio-11.0.0.drv', '/nix/store/j4w77hd0wnbq5ry3q8rf34ab780f9h48-apple-framework-OpenGL-11.0.0.drv', '/nix/store/ski71253n10hsgb3i1rr7qi430l6glch-apple-framework-CoreMIDI-11.0.0.drv', '/nix/store/yn4224613x2h257axqbj1qazni3k58yb-apple-framework-Security-11.0.0.drv' failed
Is there a workaround for this? Any other workarounds that you can suggest?
The text was updated successfully, but these errors were encountered:
I am writting an application for Mac that is packaged using Nix. We need features SDK 10.14, namely setting the dark theme. Sadly, the provided Apple SDK is ancient, version 10.12. I notice that there is another issue #101229 trying to tackle this.
However, I've also noticed that SDK 11.0 is already provided fro AArch64 (I guess for new M1 Macs?). I have tried to use it on my my machine by doing directly:
And then referencing the frameworks I need:
However, I eventually get this error:
Is there a workaround for this? Any other workarounds that you can suggest?
The text was updated successfully, but these errors were encountered: