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
scs: Fix darwin build #46551
scs: Fix darwin build #46551
Conversation
@GrahamcOfBorg build scs |
Success on x86_64-linux (full log) Attempted: scs Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: scs Partial log (click to expand)
|
I don't see any dylibs/so's in the output, while the linux build does include dynamic libraries. |
Hm. That's odd. I'll look into it. |
Success on aarch64-linux (full log) Attempted: scs Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: scs Partial log (click to expand)
|
d1f67cf
to
d4c303e
Compare
@LnL7 Should be fixed now. |
Success on x86_64-linux (full log) Attempted: scs Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: scs Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: scs Partial log (click to expand)
|
Looks like we'll also have to fixup the install_name. |
Oh, I've never dealt with that before. Could you hint me to what it should look like and how you can tell that it's not correct currently? |
I described it in short here https://nixos.org/nixpkgs/manual/#sec-darwin. Basically, the
|
6dcda03
to
d726c0f
Compare
Additionally we make the unit-test deterministic by specifying a seed instead of using something random.
@LnL7: Thanks for the pointer. Had a look at the options:
I went for the most convenient, namely |
Success on x86_64-linux (full log) Attempted: scs Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: scs Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: scs Partial log (click to expand)
|
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.
Thanks!
@knedlsepp 2. and 3. are basically the same, but the hook only looks at |
backported in 84361ab |
Motivation for this change
This fixes the darwin build of scs.
/cc ZHF #45961
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)