-
-
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
Assorted darwin/macOS fixes #45183
Assorted darwin/macOS fixes #45183
Conversation
Add xcodebuild commands from xcbuild.
now provided by xcbuild
disable checks for: - cython - ldap - tqdm
Need CMP0025 to be set. No way to do it from the command line (overrode by the cmake_minimimum_version policy). Fixes NixOS#44878
Timed out, unknown build status on x86_64-darwin (full log) Attempted: chuck, doomseeker, libglvnd, nodejs, v8, wireshark Partial log (click to expand)
|
Timed out, unknown build status on aarch64-linux (full log) Attempted: chuck, doomseeker, libglvnd, nodejs, v8, wireshark Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: chuck, doomseeker, libglvnd, nodejs, v8, wireshark Partial log (click to expand)
|
@@ -124,13 +124,7 @@ stdenv.mkDerivation rec { | |||
|
|||
# Patch based off of: | |||
# https://github.com/cowboyd/libv8/tree/v5.1.281.67.0/patches | |||
patches = lib.optional (!doCheck) ./libv8-5.4.232.patch | |||
++ stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Guess maybe it's not worth maintaining this, but in general I think we should try to avoid xcbuild (if it's reasonable to do so) and stay as close as possible to the linux builds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, my thinking here is less patches, less maintenence. In chromium-based things like v8 & node, xcode is used but only for picking up the sdk version, I think. Ideally we wouldn't need it at all but that's kind of upstream's problem.
Motivation for this change
Some changes to fix things on macOS. Effects:
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)