-
Notifications
You must be signed in to change notification settings - Fork 6.7k
ci(nix): simplify desktop app packaging #8998
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
Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found |
simplifies desktop app packaging by using cargo-tauri.hook brings build provess more in line with other platforms fixes anomalyco#8962
56a00d4 to
30aaac6
Compare
| postInstall = lib.optionalString stdenv.isLinux '' | ||
| # Wrap the binary to ensure it finds the libraries | ||
| wrapProgram $out/bin/opencode-desktop \ | ||
| wrapProgram $out/bin/OpenCode \ |
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.
Do not use case sensitive name that will collide with opencode on any case insensitive file system. Binary name is standardized: no space, etc. Do not change the name of an already shipped binary, already defined name at build, ...
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.
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.
If that's true, it's a serious namespace collision between the TUI and the GUI binary that should be addressed and will break on most macOS installation. And bug should be opened.
|
superseded by #9032 |

simplifies desktop app packaging by using cargo-tauri.hook brings build provess more in line with other platforms fixes #8962 and #8971
should be compatible with darwin as well since the cargo-tauri hook also work