-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
makeBinaryWrapper: breaks downstream derivations which edit wrappers #172592
Comments
Made this issue as I wasn't sure how best to handle this downstream. |
A similar issue came up with the firefox wrapper: #171985. Do you happen to know why exactly editing the wrapper is needed? How does discord decide where to look for its resources? |
Ah, forgot discord was closed source. Good luck with that. |
Looks like the same fix for the firefox thing applies here. Adding a generic way of extracting the original arguments to makeWrapper somewhere in The issue isn't specific to discord, it's just the first thing I ran into. |
Ah thanks for reminding me, I wanted to do that. I'll squeeze it into #172366 |
Approach which works regardless of wrapper type:
|
Describe the bug
At least one derivation exists which copies and then edits a wrapper. This no longer works with makeBinaryWrapper.
https://github.com/LavaDesu/powercord-overlay/blob/61458f8d09b977fe4347ef68c1a29b4ac4ae3baf/drvs/discord.nix
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Succeeds
Actual behavior
substituteInPlace fails with:
The text was updated successfully, but these errors were encountered: