forked from mirrors/nixpkgs
wezterm: install desktop file
This commit is contained in:
parent
633a5a6af9
commit
1c0eb8111f
1 changed files with 6 additions and 2 deletions
|
@ -34,7 +34,7 @@ let
|
||||||
zlib
|
zlib
|
||||||
fontconfig
|
fontconfig
|
||||||
freetype
|
freetype
|
||||||
] ++ lib.optionals (stdenv.isLinux) [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
libX11
|
libX11
|
||||||
xcbutil
|
xcbutil
|
||||||
libxcb
|
libxcb
|
||||||
|
@ -49,7 +49,7 @@ let
|
||||||
libGLU
|
libGLU
|
||||||
libGL
|
libGL
|
||||||
openssl
|
openssl
|
||||||
] ++ lib.optionals (stdenv.isDarwin) [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
Foundation
|
Foundation
|
||||||
CoreGraphics
|
CoreGraphics
|
||||||
Cocoa
|
Cocoa
|
||||||
|
@ -90,6 +90,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
mkdir -p $terminfo/share/terminfo/w $out/nix-support
|
mkdir -p $terminfo/share/terminfo/w $out/nix-support
|
||||||
tic -x -o $terminfo/share/terminfo termwiz/data/wezterm.terminfo
|
tic -x -o $terminfo/share/terminfo termwiz/data/wezterm.terminfo
|
||||||
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
||||||
|
|
||||||
|
install -Dm644 assets/icon/terminal.png $out/share/icons/hicolor/128x128/apps/org.wezfurlong.wezterm.png
|
||||||
|
install -Dm644 assets/wezterm.desktop $out/share/applications/org.wezfurlong.wezterm.desktop
|
||||||
|
install -Dm644 assets/wezterm.appdata.xml $out/share/metainfo/org.wezfurlong.wezterm.appdata.xml
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = lib.optionalString stdenv.isLinux ''
|
preFixup = lib.optionalString stdenv.isLinux ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue