Commit 137e8e78 authored by Ilya Fedin's avatar Ilya Fedin Committed by github-actions[bot]
Browse files

telegram-desktop: add missing runtime geo deps

This solves the following error when opening location picker:

```
Could not load 'libgeoclue-2.so.0'! Error: libgeoclue-2.so.0: cannot open shared object file: No such file or directory
```

(cherry picked from commit b7e4c0b3)
parent d0a3530a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
  libjxl,
  wrapGAppsHook3,
  wrapQtAppsHook,
  geoclue2,
  glib-networking,
  webkitgtk_4_1,
  withWebkit ? true,
@@ -53,7 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
    "--prefix"
    "LD_LIBRARY_PATH"
    ":"
    (lib.makeLibraryPath [ webkitgtk_4_1 ])
    (lib.makeLibraryPath [
      geoclue2
      webkitgtk_4_1
    ])
  ];

  dontUnpack = true;