From 5bee472a9b76e594bc94b6bb37af06e37fffa3a4 Mon Sep 17 00:00:00 2001 From: Joerie de Gram Date: Sun, 17 Oct 2021 13:46:57 +0200 Subject: terminator: use `dontWrapGApps` to fix desktop icon Terminator is currently wrapped twice, which makes the python hook use a wrapped executable name to set argv[0]. As a result, Terminator can't be matched to its desktop entry and fails to group correctly in e.g. the GNOME app launcher. Ensuring we only wrap the executable once solves this. --- pkgs/applications/terminal-emulators/terminator/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkgs/applications/terminal-emulators') diff --git a/pkgs/applications/terminal-emulators/terminator/default.nix b/pkgs/applications/terminal-emulators/terminator/default.nix index e922a34423c01..67c7196e24dae 100644 --- a/pkgs/applications/terminal-emulators/terminator/default.nix +++ b/pkgs/applications/terminal-emulators/terminator/default.nix @@ -56,6 +56,12 @@ python3.pkgs.buildPythonApplication rec { doCheck = false; + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + meta = with lib; { description = "Terminal emulator with support for tiling and tabs"; longDescription = '' -- cgit 1.4.1