-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
crabz: fix darwin build #143861
crabz: fix darwin build #143861
Conversation
98f5174
to
e153bee
Compare
e153bee
to
ffa687b
Compare
Hmm, this is still failing for me with the same error:
|
hmm... How do I get the |
Weird, couldn't find it anywhere in nixpkgs. There's an entry here: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/SystemFrameworks.html System.framework first available 10.0, "do not use" |
89479db
to
651ce8a
Compare
651ce8a
to
7f5ed45
Compare
added an ugly patch to make it compile, can you confirm that it works? |
lol. surely there should be an easier way to do this? I feel like patching the cargo vendor tarball should not be this difficult. Is there a rust maintainer team we can ping? |
I don't think there is a rust maintainer team, I hope there is a easier way to patch vendored sources but I couldn't find any |
I checked a bit, that https://github.com/Elzair/core_affinity_rs crate is 4 years old, with very little updates, that is why it is relying on an outdated framework. |
No worries, really appreciate you taking a look. In that case, this looks good to me as a stopgap. It might be a good idea to pester upstream to remove this outdated crate from their dependency graph. |
Agreed about talking to upstream if possible. |
I opened an issue upstream to remove the dependency on core_affinity |
Motivation for this change
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)