-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
pkgs/by-name/[abc].+ Migrate to new Darwin SDK #355564
Conversation
b1ec97d
to
af62940
Compare
Result of 3 packages marked as broken and skipped:
1 package failed to build:
39 packages built:
|
pkgs/by-name/ae/aegisub/package.nix
Outdated
++ lib.optionals openalSupport [ | ||
(if stdenv.hostPlatform.isDarwin then darwin.apple_sdk.frameworks.OpenAL else openal) | ||
] |
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.
This is actually kind of subtle (and you might want to extract this into its own PR for clarity):
After the refactor, on Darwin, OpenAL is always present, so this part can simply be:
++ lib.optionals (openalSupport && !stdenv.hostPlatform.isDarwin) [
openal
]
But in order to properly disable openal on Darwin, we now need
cmakeFlags = [ "-DWITH_OPENAI=OFF" ];
when openalSupport
is false.
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.
I like the idea of dropping this in its own PR for clarity. That way we can document the change properly.
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.
I had to move the patch into here due to conflicts with the new default SDK
8a18342
to
399ac19
Compare
399ac19
to
37dd5ea
Compare
be3931a
to
9eb707e
Compare
Closing, as we have the proof the new SDK structure migrates easily. |
Tracking: #354146
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.