Skip to content

Commit 3abdaf4

Browse files
committed
telegram-desktop: always wrap with gtk
1 parent 1684889 commit 3abdaf4

File tree

1 file changed

+5
-8
lines changed
  • pkgs/applications/networking/instant-messengers/telegram/telegram-desktop

1 file changed

+5
-8
lines changed

pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix

+5-8
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@ stdenv.mkDerivation (finalAttrs: {
2020

2121
inherit unwrapped;
2222

23-
nativeBuildInputs =
24-
[
25-
wrapQtAppsHook
26-
]
27-
++ lib.optionals withWebkit [
28-
wrapGAppsHook3
29-
];
23+
nativeBuildInputs = [
24+
wrapQtAppsHook
25+
wrapGAppsHook3
26+
];
3027

3128
buildInputs =
3229
[
@@ -58,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: {
5855
runHook postInstall
5956
'';
6057

61-
preFixup = lib.optionalString (stdenv.hostPlatform.isLinux && withWebkit) ''
58+
preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
6259
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
6360
'';
6461

0 commit comments

Comments
 (0)