diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-08-02 14:12:16 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-08-02 14:12:16 +0200 |
commit | 1c0eb8111f22a088cf3fe69cdc1e0317888458f8 (patch) | |
tree | 2bc6b467f11c6f3a596305f3db0b643bcf14a355 /pkgs/applications/terminal-emulators | |
parent | 633a5a6af95e2e41710a68e44dbf0a6f05c7ec75 (diff) |
wezterm: install desktop file
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r-- | pkgs/applications/terminal-emulators/wezterm/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/terminal-emulators/wezterm/default.nix b/pkgs/applications/terminal-emulators/wezterm/default.nix index d214d6fabc3d6..e3e10f6e0f948 100644 --- a/pkgs/applications/terminal-emulators/wezterm/default.nix +++ b/pkgs/applications/terminal-emulators/wezterm/default.nix @@ -34,7 +34,7 @@ let zlib fontconfig freetype - ] ++ lib.optionals (stdenv.isLinux) [ + ] ++ lib.optionals stdenv.isLinux [ libX11 xcbutil libxcb @@ -49,7 +49,7 @@ let libGLU libGL openssl - ] ++ lib.optionals (stdenv.isDarwin) [ + ] ++ lib.optionals stdenv.isDarwin [ Foundation CoreGraphics Cocoa @@ -90,6 +90,10 @@ rustPlatform.buildRustPackage rec { mkdir -p $terminfo/share/terminfo/w $out/nix-support tic -x -o $terminfo/share/terminfo termwiz/data/wezterm.terminfo 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 '' |