wezterm: fix app bundle on darwin
Signed-off-by: Marco Bulgarini <marco.bulgarini@gmail.com> Co-authored-by: Sizhe Zhao <prc.zhao@outlook.com>
This commit is contained in:
co-authored by
Sizhe Zhao
parent
8ac7737297
commit
c50af17f78
@@ -119,7 +119,12 @@ rustPlatform.buildRustPackage rec {
|
||||
cp -r assets/macos/WezTerm.app "$OUT_APP"
|
||||
rm $OUT_APP/*.dylib
|
||||
cp -r assets/shell-integration/* "$OUT_APP"
|
||||
ln -s $out/bin/{wezterm,wezterm-mux-server,wezterm-gui,strip-ansi-escapes} "$OUT_APP"
|
||||
# https://github.com/wezterm/wezterm/pull/6886
|
||||
# macOS will only recognize our application bundle
|
||||
# if the binaries are inside of it. Move them there
|
||||
# and create symbolic links for them in bin/.
|
||||
mv $out/bin/{wezterm,wezterm-mux-server,wezterm-gui,strip-ansi-escapes} "$OUT_APP"
|
||||
ln -s "$OUT_APP"/{wezterm,wezterm-mux-server,wezterm-gui,strip-ansi-escapes} "$out/bin"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user