Nixpkgs: MacOS_SDK needs updating from 10.10

Created on 26 May 2016  Â·  10Comments  Â·  Source: NixOS/nixpkgs

Issue description

os-specific/darwin/apple-sdk hard-wires the SDK version to 10.9, but os-specific/darwin/apple-source-releases includes framework versions from 10.11 and 10.10, including IOKitUser.

The IOKitUser then won't work in 10.11, as it includes strings like AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER which should be defined in apple-sdk, but aren't defined in 10.9's (obviously).

So basically, apple-sdk needs versioning in the same was as the frameworks.

Steps to reproduce

I found this trying to make a working mplayer package, but anything which tries to #include "/hid/IOHIDDevice.h" from IOKit will hit this problem.

Technical details

  • System: Mac os X 10.11.5
  • Nix version: 1.11.2
  • Nixpkgs version: "16.09pre83147.df89584"
darwin package (update)

Most helpful comment

It should eventually. I actually made an attempt to bump this up to 10.11 (we got a native xhyve build for a couple of git revisions!!) but it got reverted because it broke a bunch of stuff unexpectedly and I haven't had time to investigate. It should be coming back soon though 😄

All 10 comments

I've started the work to update the whole darwin shebang, but it's a decent amount of work and I'm short on time. I doubt it makes much sense to hand it off in its current state to anyone else, but when I get finished I'll write up the various gotchas so that this isn't so hard for others to pick up next time around.

related to #13779 just so it doesn't get lost

I think this can now be closed.

@matthewbauer what has changed?

Unless someone else has updated it, it still needs a bump. I'll try to get to it soon

@copumpkin will the shebang refactoring remove MacOS_SDK and OSXPrivateSDK from closures?

It should eventually. I actually made an attempt to bump this up to 10.11 (we got a native xhyve build for a couple of git revisions!!) but it got reverted because it broke a bunch of stuff unexpectedly and I haven't had time to investigate. It should be coming back soon though 😄

So what's the status on this issue?

It's on 10.10 so is technically updated now. I wanted 10.11 but that one is trickier

On Apr 21, 2017, at 02:36, Matthew Justin Bauer notifications@github.com wrote:

So what's the status on this issue?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

see #37407

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edolstra picture edolstra  Â·  3Comments

teto picture teto  Â·  3Comments

grahamc picture grahamc  Â·  3Comments

matthiasbeyer picture matthiasbeyer  Â·  3Comments

rzetterberg picture rzetterberg  Â·  3Comments