diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix index aec348dfa91c1..cc34f27acfa04 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix @@ -20,13 +20,10 @@ stdenv.mkDerivation (finalAttrs: { inherit unwrapped; - nativeBuildInputs = - [ - wrapQtAppsHook - ] - ++ lib.optionals withWebkit [ - wrapGAppsHook3 - ]; + nativeBuildInputs = [ + wrapQtAppsHook + wrapGAppsHook3 + ]; buildInputs = [ @@ -58,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; - preFixup = lib.optionalString (stdenv.hostPlatform.isLinux && withWebkit) '' + preFixup = lib.optionalString stdenv.hostPlatform.isLinux '' qtWrapperArgs+=("''${gappsWrapperArgs[@]}") '';