-
-
Notifications
You must be signed in to change notification settings - Fork 12.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
cc-wrapper: Fix standalone gcc #28021
Conversation
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.
Looks great! Thanks for doing this :)
This fixes a bug introduced in NixOS#27831: `for path in "$dir"/lib*.so` assumed that all libs match `lib*.so`, but 0767478 started adding libs that match `*.so` and `*.so.*`.
This ensures that all salted variables are defined even if the wrapped program is invoked outside nix-build environment.
Please don't merge yet.. this won't fix it btw.. but no idea what the issue is.. |
@globin Have you tested with the latest commit that fixed |
I have just built |
I do not understand this fully yet, but this failure is caused by #27657 (comment) . I assumed that libraries used from |
Currently (at least when Nevertheless, should I revert the aforementioned change (#27657 (comment)), or shall we fulfill its assumption that used libraries are not deleted from /nix/store, or both? |
This refactors changes to
add-flags.sh
introduced in #27672 to ensure that all salted variables are defined even if the wrapped program is invoked outside nix-build environment to address #27672 (comment) .This pull request incorporates #28012 .
Currently I'm testing if this can build
kdeFrameworks.kidletime
on Linux.