-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROOT doesn't compile on Big Sur but the binary cache works #128576
Comments
Seems like it is coming from |
cc @NixOS/darwin-maintainers @thefloweringash for suggestions |
It looks like it should be an easy fix: use the framework stub for CoreSymbolication. I've opened a PR (#128581) but have run out of time to test it right now. |
The current build works by linking against CoreSymbolication in /System/Library/PrivateFrameworks. This is impure and doesn't work in newer versions of macOS. See #128576
I put some of your changes to an overlay and it now is compiling fine on Big Sur. Many Thanks! BTW, how'd I override the final: prev:
{
darwin = prev.darwin // {
apple_sdk_10_12 = prev.callPackage ./apple-sdk {
inherit (prev.buildPackages.darwin) print-reexports;
inherit (prev.darwin) darwin-stubs;
};
};
root = prev.callPackage ./root {
python = final.python3;
inherit (final.darwin.apple_sdk.frameworks) Cocoa CoreSymbolication OpenGL;
noSplash = true;
};
} But |
Just want to report back that with latest unstable branch, ROOT compiles fine on Big Sur. |
Describe the bug
I'm trying to get my colleagues (bosses, really) to start using
nix
. Both are on macOS; one on Big Sur, the other Catalina.Because we need to apply patches to
root
, we need to compile it on both platforms. On Big Sur, I got the following error message when trying to compileroot
that comes straight fromnixpkgs
:But the binary cache works on Big Sur. On Catalina, both compilation and binary cache work fine.
To Reproduce
Steps to reproduce the behavior:
nix-build --check -A root '<nixpkgs>'
Expected behavior
root
should build and link w/o problem.Notify maintainers
@veprbl
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.This is on macOS Big Sur.
"x86_64-darwin"
Darwin 20.3.0, macOS 10.16
yes
no
nix-env (Nix) 2.4pre20210604_8e6ee1b
"nixpkgs-21.11pre295670.189a1368878"
/nix/var/nix/profiles/per-user/root/channels/nixpkgs
Maintainer information:
The text was updated successfully, but these errors were encountered: