-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
treewide: move fixDarwinDylibNames to nativeBuildInputs #100388
Conversation
837c8e8
to
9488d79
Compare
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 good to me otherwise.
]; | ||
|
||
propagatedNativeBuildInputs = |
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 should never be propagated, that makes it impossible to build libraries with rpath or executable relative references when this is a dependency.
needs a rebase |
This hook runs at build time and depends on executing install_name_tool from binutils.
This package is a leaf that exports no libraries, so propagating its inputs should have no effect. The fixDarwinDylibNames hook only applies to *.dylib files, which this package does not contain.
4175101
to
5b5d38a
Compare
Rebased! |
Motivation for this change
Hopefully simple cleanup. I discovered some inconsistencies when cross compiling where install_name_tool has a target prefix, and checked through the uses in the entire tree.
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)