Repository navigation
insync: fix build - #578975
insync: fix build#578975lonerOrz wants to merge 1 commit into
Conversation
|
I have tried this fix, but somehow the binary itself didn't run for me. Have you tried? It might be my side of mistake too, I could try again. |
Could you try the new changes and see if it works now? |
✅
|
|
Thanks for the patch, I fully agree with removing I am not really the biggest fan of the second part, however. First, it is quite unclear in the code why this is needed. It would be great to add a comment to #576779 (or NixOS/patchelf#672, #577387, or all of them), to make it a bit more transparent, and allow anyone touching this in the future to understand when it can be removed again. Second, if you look at the tracking issue, other packages have taken the approach of simply "reverting" What do you think? |
all done |
|
Great, thanks! The folks at #577387 pointed out that it would be great if you could split your changes into two commits. This would make it easy to revert the one with the I've tested this locally and it builds and starts just fine for me. |
|
Thank you, LGTM from my side. After merging, the commit hash of the to-be-reverted commit should be sent to the folks at #577387 so it can be reverted as soon as possible. |
hellwolf
left a comment
There was a problem hiding this comment.
Shouldn't we just wait for the patchelf to be patched in the main branch?
When this PR was made, patchelf v0.19.3 didn't even exist yet. We can consider waiting, but that would waiting for that version to (1) be merged into |
|
Okay, so This means the second part of this PR can be removed, since any new version bump will be to |
|
🥳 Btw, I have a related question. Do you also use "insync-nautilus", does it work for you? |
auto-patchelf mistakes upstream *.debug objects for dynamic executables and runs patchelf on them, which aborts with "data offset extends past file end". Drop them in installPhase before the hook runs; they are not needed at runtime.
fixed #576779
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.