-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
keystone: make sure dylib's install name is correct on darwin #217201
Conversation
@ofborg build haskellPackage.bytepatch |
@ofborg build haskellPackages.bytepatch |
This reverts commit 32eecc6. Reason for revert: This fix doesn't alleviate the problem in two ways: 1. It is in the aarch64-darwin section of configuration-darwin.nix, the problem appears on x86_64-darwin (bytepatch doesn't support aarch64). 2. When moving the override into the general *-darwin section, the problem with bytepatch is also unaffected, see my attempt in #217201.
That's a bummer to see it wasn't the right fix, I'm a bit helpless on Mac issues. Still gladly help out any way I can but no more ideas from here. |
This reverts commit 32eecc6. Reason for revert: This fix doesn't alleviate the problem in two ways: 1. It is in the aarch64-darwin section of configuration-darwin.nix, the problem appears on x86_64-darwin (bytepatch doesn't support aarch64). 2. When moving the override into the general *-darwin section, the problem with bytepatch is also unaffected, see my attempt in #217201.
65425c6
to
5bb20f7
Compare
@ofborg build haskellPackages.bytepatch |
5bb20f7
to
dfc166e
Compare
@ofborg build haskellPackages.bytepatch |
dfc166e
to
1ac6e3f
Compare
A note: I'm baffled that we only see this issue for heystone. It gets libkeystone via a |
@raehik Yeah, asking myself the same question as you, but not sure. The rpath business comes up on darwin from time to time, but I don't feel like it should be a problem in this instance — it also doesn't seem to be for other libraries in
|
@ofborg build haskellPackages.bytepatch |
95d7f00
to
1ac6e3f
Compare
1ac6e3f
to
e2f1603
Compare
@ofborg build haskellPackage.bytepatch |
This comment was marked as outdated.
This comment was marked as outdated.
Using @rpath leads to problems later on, e.g. when linking against haskellPackages.heystone which in turn links against keystone itself. As soon as different rpaths/libdirs are in play, things fall apart.
e2f1603
to
dce4f23
Compare
This comment was marked as outdated.
This comment was marked as outdated.
@ofborg build haskellPackages.bytepatch |
Due to an oversight the override ended up in the aarch64-darwin only section of configuration-darwin.nix.Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)