-
-
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
suitesparse: rename fixDarwinDylibNames override #96982
suitesparse: rename fixDarwinDylibNames override #96982
Conversation
According the comment, we might be able to remove the whole |
That would be better. I don't have a Darwin machine to check, maybe @graham33 could? Still, these changes look reasonable to me, and I'm fine with merging them if they fix the problem. |
Yes I think this works, just rebuilding to test. Thanks. |
This shadows the regular fixDarwinDylibNames function, which is a nativeBuildInput, and prevents it from converting some relative paths to absolute. According to the comment this can be removed as of 5.7.2.
3b12b5d
to
e10228d
Compare
I successfully built and ran octave against the updated commit. |
Thanks for testing. Is it also okay to remove |
I think we still need
vs this with
I don't know much about Darwin dylibs, but I think absolute store paths are what we want (and these were the source of the problems I had with Octave). |
Motivation for this change
This seems to prevent shadowing the regular fixDarwinDylibNames function, which is a nativeBuildInput. Without this change some dylibs still had relative paths embedded. It's possible something deeper is happening, but this change fixed the issue for me. See #96981 for details.
Fixes #96981
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)